The latest version of the Loci compiler is now available. See the release notes for detailed information about what’s included.
A lot of this release is clearing up the low level mechanisms of the language, including:
- Specify object memory states, which is important for move semantics.
- Adding sizeof() and alignmask() methods so that unsized types (e.g. opaque structs) can be represented.
- Adding predicate aliases (or ‘named predicates’) to improve readability.
- Fixing noexcept to be inferred correctly.
- Adding static array type.
- Fixing value templates (primarily for static array element count template argument).
There’s also been a lot of work on the language grammar and parser to work out the more difficult cases. It’s becoming increasingly clear that the Bison parser has many problems and so rewriting it as a recursive descent parser will soon be necessary. However in the meantime the priority is to augment the standard library and make the compiler easier to use.
I’m also planning to shorten the release cycle down to about 2-3 months, so the feature list for v1.4 is naturally trimmed down as well.