elixir_script v0.31.0 Release Notes
Release Date: 2017-09-24 // over 6 years ago-
โ Added
- Compiler will now accept a path to Elixir Files to compile
- Added
ElixirScript.JS.map_to_object/2
with options [keys: :string, symbols: false] - Added
ElixirScript.JS.object_to_map/1|2
with options [keys: :atom, recurse_array: true] - Fully implement
__info__
on modules - Concurrent Compilation
- The following erlang functions have been implemented:
- :erlang.nodes/0
- :erlang.nodes/1
- :math.log2/1
- :binary.copy/1
- :binary.copy/2
- :binary.part/2
- :binary.part/3
- :binary.replace/3
- :binary.replace/4 (some options still missing)
๐ Fixed
- ๐ Make sure not to add underscores to erlang functions
- Make sure any variable names that are javascript keywords are handled properly
- Make sure variables that begin with
_
are available - Finding the use of functions within anonymous functions
- Reimplement
String.split_at/2
to make sure Unicode library isn't compiled - byte_size does not work on binaries that started via "" elixir string syntax
- using . (dot) reference syntax on a map fails when value is a function
- Make sure that remote ast works correctly with variables
- Make sure == works as expected
- Make sure that erlang function names that are also JavaScript keywords are not filters
- erlang.error now throws errors resembling those in Elixir
- Map.get fails if key is tuple or list