compiler history
Joe Armstrong
joe@REDACTED
Mon Jun 21 17:14:50 CEST 1999
lyn wrote:
> just curious: how was the erlang compiler bootstrapped?
>
First I designed an abstract machine to execute Erlang (
this was called the JAM machine. (JAM = Joes
Abstract machine) - Then I wrote a compiler from Erlang -> Jam
+ an emulator to see if the machine worked. Both these were written in
prolog.
At the same time Mike williams wrote a C emulator for the JAM.
Then I rewrote the erlang -> jam compiler in Erlang and used the prolog
compiler to compile it. The resultant object code was run
in the C emulator. Then we threw away prolog.
Some of this is described in:
http://www.ericsson.se/cslab/erlang/publications/prac_appl_prolog.ps
/Joe
More information about the erlang-questions
mailing list