cerl module; Core Erlang "forms"

mccratch@REDACTED mccratch@REDACTED
Sat Apr 16 16:44:44 CEST 2005

On 2005-04-15 at 02:27:52 (+0100), Sean Hinde wrote:
> If you want to get started with something slow and measure to see if it 
> is really too slow, then such an interpreter already exists in OTP. 
> Check out erl_scan, erl_eval and friends.

no - erl_scan/erl_eval would pollute the atom table. Though I can of
limit the number of variables and such stuff, but I didn't wanted to do
that too much.
Limiting the number of functions is a bit better, because the number of
functions that one needs to do some useful stuff should be much lower
than the number of variables ...

As I wanted to be able to exchange the backend anyway, I know think I
implement both approaches I favorize: targetting Core Erlang and a
simple interpreter.

Matthias Kretschmer

More information about the erlang-questions mailing list