-
Notifications
You must be signed in to change notification settings - Fork 32
Release 0.2
second release of efene.
efene is a programming language that runs on the erlang virtual machine.
the idea is to provide an alternative syntax to erlang that is most suitable for people coming from languages like Java, C, C++, C#, Javascript.
the language is almost 100% compatible with erlang (and will be), the compiler allows to translate an efene source file into a readable erlang one or compile it directly to bytecode. It also adds some syntactic sugar in some places to make some tasks easier.
- commas and parenthesis made optional on almost all places.
- the parser is now less generic, avoid expressions that are syntactically correct but that won’t compile or will be a runtime error.
- guards added to case and receive expressions.
- support for the $ operator added, returns the integer value of a char.
- for and in are now keywords.
- now atoms can be written with ’ (like ‘Atom’ ‘@tom’).
- support to assign an argument that is pattern matched to a variable.
- support to pass a function expressing its [module,] name and arity
- parameters of record objects simplified, added constructor from record .
- non short circuit versions of ‘and’ and ‘or’ added.
- added the arrow operator (see examples/arrow.fn).
- module and function can be a variable in calls and arrow expressions.
- fixed operator precedence on binary operations
for a complete reference see the LanguageReference
a mailing list is available at librelist just send a mail to [email protected] to subscribe.
as first mail you may send a hello world program in efene and present yourself by saying your name, where you are, how did you heard about efene and anything else you would like to say.