Weitere ähnliche Inhalte Ähnlich wie Essential ElixirScript - Roman Senin (20) Mehr von Elixir Club (20) Kürzlich hochgeladen (20) Essential ElixirScript - Roman Senin5. How it happens
• pass code to elixir compiler
• compile(and get error messages)
• load modules(and expand macros)
7. show what you can
• most special forms
• modules
• functions
• pattern matching
• public macros
• protocols
• structs
• sigils
• bitstring
8. Primitive Mapping
elixir javascript
List Array
Map Object
Atom Symbol
Binary String
Integer,Float Number
Bitstring ErlangTypes.Bitstring
Tuple ErlangTypes.Tuple
PID ErlangTypes.PID
Reference ErlangTypes.Reference
9. limitations
• No OTP
• Buggy Processes
• Not all special forms
• No private macros
• incomplete standard library
• babel
16. Future*
• not production ready yet
• not enough documentation
• increase support of standard library
• dependency resolution(oh god!)
• add support of source maps(really?)
• stable processes
*але е одне але