Evaluating code snippets

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Mon May 16 15:20:13 CEST 2005


Hi,
>I don't know what your performance requirements are,
>but you could consider using file:script/2
That's an interesting idea, I had missed that one, but it would probably be
too slow.

I have a file with embedded Erlang code, and that code consists mainly of
simple matches (X=something, Y=M:F()). Almost like yaws.

This file will be compiled into a module, and that I know how to handle, but
I also want to be able to "execute" it in interpreted mode. Mostly because
I'd like to test the ideas before getting my hands dirty with the code
generating engine.

Thanks,
Vlad



More information about the erlang-questions mailing list