String to term

Inswitch Solutions - Erlang Evaluation <>
Wed Apr 27 15:25:47 CEST 2005


You're right, but now the answer is the mailing list for our community!

thank you very much,
Eduardo


Prepaid Expertise - Programmable Switches Powered by Ericsson Licensed
Technology Ing. Eduardo Figoli - Development Center - IN Switch Solutions
Inc. Headquarters - Miami-U.S.A. Tel: 1305-3578076 Fax: 1305-7686260
Development Center - Montevideo - Uruguay Tel/Fax: 5982-7104457 IN SWITCH
EMEA Phone: +33 0 6 0335 9427 - Fax: +33 0 4 93655773 /  IN
SWITCH ASIA Phone: +92 51 2800397/8- Fax: +92 51 2800399/
 e-mail: 
----- Original Message -----
From: <>
To: "Inswitch Solutions - Erlang Evaluation" <>;
<>
Sent: Wednesday, April 27, 2005 10:18 AM
Subject: Re: String to term


> Mr,
>
> in mailing list archive it shows that you have been evaluating erlang
> for many years
> and must know very much indeed about evaluation now. Please advice
> results.
>
> May be good to evaluation include erl_parse module and his fonction
> parse_term
> and then also erl_scan.
>
> {ok, T, _} = erl_scan:string("{1,2,[hello]}."), erl_parse:parse_term(T).
> {ok,{1,2,[hello]}}
>
> iMan
>
> On Wed, 27 Apr 2005 09:50:39 -0300, "Inswitch Solutions - Erlang
> Evaluation" <> said:
> > Hi,
> >
> > Does someone know if there is an easy way to convert a string to an
> > Erlang
> > term?
> > example:
> > "{1,2,[hello]}" ---- converted to ----->  {1,2,[hello]}
> >
> >
> > thanks in advance,
> > Eduardo Figoli
> > INSwitch Solutions
> >
> >
> >
> --
>
>   
>
>





More information about the erlang-questions mailing list