Any BEAM docs?
Fri Jan 9 17:04:58 CET 2004
On Fri, 9 Jan 2004, Robert Feldt wrote:
> Is there any overview description of BEAM? Or at least some hints on
> the structure of the BEAM source code?
Note that there is a difference between the external BEAM transport
format (the code in *.beam files) and the internal instruction set used
by the BEAM emulator (see the file beam_emu.c). The loader - a very
complicated beast - rewrites the code to the internal form
The external format used to be described by a document on Björn
Gustavsson's page, but that link seems to be dead now. (Björn?)
Studying the file lib/compiler/src/beam_disasm.erl might help.
To understand the internal instruction set, beam_emu.c is your
only source, I think.
Richard Carlsson () (This space intentionally left blank.)
E-mail: WWW: http://user.it.uu.se/~richardc/
"Having users is like optimization: the wise course is to delay it."
-- Paul Graham
More information about the erlang-questions