Evaluate string in Erlang

Sean Hinde sean.hinde@REDACTED
Fri Oct 10 19:50:52 CEST 2003


On Friday, October 10, 2003, at 05:58  pm, Inswitch Solutions - Erlang 
Evaluation wrote:

> "erlang:nodes()."

One way is:

1> {ok, A, _} = erl_scan:string("erlang:nodes().").

2> {ok, B} = erl_parse:parse_exprs(A).

3> erl_eval:exprs(B, []).

Sean




More information about the erlang-questions mailing list