Core Erlang minor update

Robert Virding <>
Thu Apr 19 12:43:24 CEST 2001


Richard Carlsson <> writes:
>
>A small update of the Core Erlang specification has been made. See
>
>	http://www.csd.uu.se/projects/hipe/cerl/
>
>for details.

I must make one small point here.

The current BEAM compiler already uses Core internally.  It is,
however, not quite the same Core as richard has documented although
they are (slowly) converging.  One major difference is the that the
internal representations are different even though the textual forms
are very alike.

If you are interested in looking at it check out the core_XXX
modules.  To see the how Erlang is converted to Core try the following
compiler flags:

dcore	- direct Core representation of the Erlang code
dcopt	- Core code after optimisation

You can directly write Core modules but it is not really supported.
There is no benefit in doing it, although in some respects the Core
language has some nice features, and some features which make it a
pain to use directly.

        Robert
--
Robert Virding                          Tel: +46 (0)8 545 55 017
Alteon Web Systems                      Email: 
S:t Eriksgatan 44                       WWW: http://www.bluetail.com/~rv
SE-112 34 Stockholm, SWEDEN
"Folk säger att jag inte bryr mig om någonting, men det skiter jag i".



More information about the erlang-questions mailing list