parse external files -- which library files call ?
Martin Carlson
martin@REDACTED
Fri Oct 28 11:39:21 CEST 2005
You are probably looking for file:consult or file:eval.
Martin
-------------------------
Martin Carlson
www.erlang-consulting.com
On Fri, 28 Oct 2005, Gaspar Chilingarov wrote:
> Hi all!
>
> I need to have files in plaintext format, describing some forms functionality -
> which i need to load, parse and generate html from them.
>
> files will look like this:
>
> {form, personalinfo,
> [ {firstname, string},
> {lastname, string},
> {submit, button}
> ],
> fun
> (List) -> validateForm(List)
> end
> }
>
>
> so, I need them parse info valid erlkang terms - tuples, lists, funs, etc.
> I understand , that such functionality already is in library :) but , hm, I've
> missed where )
>
> or maybe i should RTFS parts of yaws?
>
> thanks in advance :)
>
> --
> Gaspar Chilingarov
> System Administrator
>
> t +37491 419763
> w www.netter.am
> e nm@REDACTED
>
>
More information about the erlang-questions
mailing list