[erlang-questions] Core erlang definition

Robert Virding rvirding@REDACTED
Thu Mar 16 17:32:49 CET 2017


Does there exist a current definition ofCore Erlang? I know you can look in
cerl.erl to see which constructions exist but there is a lot which is
unclear on how they are to be used. For example one problem I had was HOW
to represent literals. They can either be done by having them literally
(haha) inside a #c_lit{} record or as a whole nested tree of Core records.
I noticed that even if these are in principle equivalent sometimes later
passes of the compile required one or the other to work.

I got it working in the LFE compiler but it feels a bit risky not to be
certain why it works, and what might happen if I change things.

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170316/97f526d6/attachment.htm>


More information about the erlang-questions mailing list