Skip to content

Keel 0.4.0

Latest

Choose a tag to compare

@horacehoff horacehoff released this 30 Jul 21:27

See the documentation for installation, language tour, and benchmarks.
Feedback and bug reports are very much welcome!

keel-* artifacts contain the CLI binary and the standard library (what most people want to download).
libkeel-* artifacts contain Keel as a dynamic library for embedding.
If you're not sure which one to download, download the keel-* artifact.

Changelog:

  • Function arguments can now be typed with the syntax arg: T
  • Structs and bools can now be passed and returned through FFI functions
  • Anonymous functions & higher-order functions are finally here! Declare them with fn (arg1, arg2, ...) {// code here} anywhere as an expression
  • map and filter methods have been added to the standard library
  • The entire FFI VM logic has been simplified and optimized
  • Keel now has a VS Code extension for syntax highlighting!
  • Much better error messages (they will keep on improving)
    • Notably, invalid FFI types are now a compile-time error
  • The .len() function now works with maps
  • The VM has been optimized & recursion is faster
  • The map type is now written {K: V} instead of [K: V]
  • The module system is much more robust, and supports circular imports
  • Multiple bugs have been fixed

Ad astra per aspera!

Full Changelog: v0.3.0...v0.4.0