Hi Christophe,

>> 2) rewrite <xml> so that it evaluates its args, then quote the args in
>> my calls to it.
>
> Exactly! I would do:
>
>    (de <xml> (Lst)  # See also "lib/xm.l" and "lib/xml.l"
>       ... )
>
> and then provide also a quoting function
>
>    (de <xmlq> Lst
>       (<xml> Lst) )
>
> giving a convenient frontend function.

another option is calling eval like this:

: (eval (cons '<xml> X))

where X is the cons tree describing the XML.  Of course, you still need
to build the X cons tree somehow.

Cheers,

Tomas
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to