Hamler 0.2 Released
Pre-release
Pre-release
Version 0.2
Release Date: 2020-08-06
Language/Libraries
Highlights:
-
Add Control lib including Control.Application, Control.Behaviour, Control.Distributed, Control.Process. Examples of these lib are illustrated in the documentation.
- Control.Behaviour implements corresponding generic behaviours in Erlang, including
gen_server
,genEvent
andgenStatem
. Supervisor Behaviours are also implemented. - Control.Application implements OTP application
- Control.Distributed implements Erlang distributed
- Control.Process implements Erlang process API
- Control.Behaviour implements corresponding generic behaviours in Erlang, including
-
Add Database lib
Enhancements:
- Add Operators (>>>) (<<<) for functions and add some operators for binaries
- Add 'Data.Term' datatype
- Add VM module
- Add FilePath module
- Add Data.Foldable
- Add Digraph and Array modules
- Add printf function
Exploratory Enhancements:
Bug Fixes:
Compiler
Enhancements:
- Add annotation to core Erlang AST, and rewrite parser and pretty-printer
- Add new atom syntax
- Add new receive syntax, similar to receive in Erlang, the initial version has some layout problem which is fixed.
- Complete record syntax and remove old record syntax
- Add an option "-e -s" for "hamler repl" to specify the ebin directory
- Add support for multi ebin directories when use "hamler repl"
- Add new error type
- Add check for functions with duplicate names
- Some optimization
Bug Fixes:
Documentation/Examples:
- Add Demo
- Add Chapter 10 Message Passing Concurrency, 11 OTP Behaviours, 12 Node and Distrubuted Erlang in guides