Releases: hamler-lang/hamler
Hamler 0.5 Released
- fix the happy version bug #464 hamler-lang/purescript#85
- inline the typeClass dictionary as much as possible #466 hamler-lang/purescript#87
- support erlang/otp 24 #468
Hamler 0.4 Released
- use cabal to build hamler. we can use haskell-language-server to develop hamler.
- add '-e' parameter to 'hamler build' command. hamler can generate erlang source code
Hamler 0.3 Released
Highlights:
- add Project Layout paragraph
- new Record update syntax
- add
Read
type class & implement for basic datatype - add
Parsec
& JSON Parser - add
Reader
,State
&Writer
Monad - add
Distributed.GlobalGroup
module - add
EVal
to pack all Erlang value - add function to get & convert time in
Time
module - add
Data.Identity
module
Enhancements:
- add more function for
List
module - add more function for
Monad
module - remove
return
ofMonad
type class - implement
Foldable
&Traversable
forEither
,Map
,OrdDict
,OrdSets
,Result
&Set
- add constructor for
Edge
&Vertex
inDigraph
module - add more function for
Binary
module - add
childSpecError
forSupervisor
module
Bug Fixes:
- fix
Error
test fail when[]
- fix CI #446
- fix
{ok}
stand forUnit
notok
- fix
IO ()
returns nothing inDigraph
module - fix
Void
defination
Hamler 0.2.2 Released
Highlights:
- Add tests for more libraries and fix bugs
- Fix command 'hamler test' #422
- Add environment variable 'HAMLER_HOME' #423
- More instances for some type classes
Enhancements:
-
Add tests for libraries such as Timer, Mnesia, ETS, UDP, Atomics, and System
#415 #404 #403 #397 #400 #408 #407 #405 #402 #411 #406 -
Add the hamler test command, the user runs the test through this command #424
-
Add the environment variable'HAMLER_HOME', users can use it to specify the location of the hamler library #425
-
Add typeclass for Array, Maybe #399
-
Add an instance of Testable to IO instead of checkIO function #398
Bug Fixes:
Hamler 0.2.1 Released
Highlights:
Upgrade CoreErlang for compatibility with Erlang/OTP R23.
Enhancements:
-
Improve quick check library (e.g. add more Arbitrary instance)
Github PR: #357
-
Change binary pattern match syntax
Github PR: #362
-
Add tests for libraries under Data and Control
Github PR:
-
Add try catch catchException functions
Github PR: #367
-
Improve
printf
and add corresponding documentationGithub PR: #370
-
Add Diagraph library
Github PR: #375
Bug Fixes:
Hamler 0.2 Released
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
Hamler 0.1.3 Released
Version 0.1.3
Release Date: 2020-06-24
Enhancements:
-
Allow tuple to have any number of elements
Github PR:hamler-lang/purescript#50 -
Allow hex representation to start with both 0X or 0x
Github PR:hamler-lang/purescript#46 -
Add
otherwise
as a keyword
Github PR:hamler-lang/purescript#43 -
Add “-o” “-e” “-s” options for
hamler repl
Github PR:#208
Bug Fixes:
-
Fix the issue that guards in the function definition cannot work
Github PR:#205 -
Fix the issue of file path stitching error
Github PR:#202
Documentation:
-
Update FFI
-
Add documents about differences from Erlang
-
Add documents about data type mapping from Hamler to Erlang
Github repo:https://github.com/hamler-lang/documentation
Hamler 0.1.2 Released
Version 0.1.2
Release Date: 2020-06-17
Enhancements:
-
Change String type to a list of Char
Github PR: hamler-lang/purescript#41 -
Allow configuration of installation directory location
Github PR:#182 -
Support top-level matching syntax in repl
Github PR: hamler-lang/purescript#43 -
Support let binding in repl
Github PR: hamler-lang/purescript#45 -
Add
>>=
in Prelude
Github PR: #166 -
Add docker image and Linux installation package (rpm and deb)
Github PR: #193
Bug Fixes:
-
Fix the issue that command "hamler repl" only runs in hamler folder
Github PR: hamler-lang/purescript#44 -
Fix the issue that hamler does not run on erlang/otp 23.0
Github PR: #180 -
Fix the issue that 'filter' ffi does not work
Github PR: #191 -
Fix the issue that no completeness check for pattern match on list and tuple
Github PR:
hamler-lang/purescript#37
hamler-lang/purescript#38
hamler-lang/purescript#39
Documentation:
-
Update README and now it has features and design sections
-
Add documents about differences between Hamler and PureScript/Haskell
-
Add documents on foreign function interface
-
Add a draft of future tutorial book
-
Add a list FAQ and answers
Github repo: https://github.com/hamler-lang/documentation
Hamler 0.0.1 Released
- First release of Hamler Programming Language.
- The compiler is based on
purescript
v0.13.6.