trifork / erjang

A JVM-based Erlang VM
http://www.erjang.org
Apache License 2.0
725 stars 62 forks source link

Implement maps #89

Closed krestenkrab closed 8 years ago

krestenkrab commented 8 years ago

With this set of changes, Erlang now boots on R18 and can successfully compile a module from the REPL.

The changes are relatively orthogonal; the only tricky thing is that maps also use the SelectList operand type (that's the way it is encoded in BEAM), so there are some strange new methods on SelectList to consider it a KV-list of operands for the map operations.