I have just committed a new version of LFE to github:
https://github.com/rvirding/lfe
It has been quite a while so there are a number of changes. This is an
'a' release as there some additions which need user testing before
they are finalized, notably Query List Comprehensions. These still
need more work but I would like feedback on the interface. Other
changes are:
First version of Query List Comprehensions.
Add access to current macro environment through the variable $ENV
within macros which allows explicit macro expansion.
First version of match-specification generator.
Add ets/mnesia match patterns to records.
Arithmetic functions + - * / and comparison functions > >= < =< == /=
=:= =/= now take multiple arguments. This is experimental and as yet
only implemented as macros.
Handle compiler option warnings_as_errors in the same way as the
vanilla Erlang compiler.
Improved ++ macro can now be used in patterns.
List/binary comprehensions generate fewer unnecessary compiler
warnings.
Added new example file with core macros implemented in LFE.
New patterns with explicit constructors! We now follow the invariant
that constructors and patterns should look the same. It is still
possible to use old patterns but 'cons' and 'list' now as as "reserved
words" like 'tuple' and 'binary'.
Allow guards with generators in list/binary comprehensions. N.B. can
cause unexpected behaviour with binary generators.
Robert