Hi Axel,

> Right, FSUBR to EXPR conversion isn't possible. I guess it would be
> possible to convert FSUBR to FEXPR, though. Example:
> 
> : (de fexpr ("F")
>    (set
>       "F"
>       (list '"X" (list 'eval (list 'cons (cons 'quote (box (getd
> "F"))) '"X"))) ) )
> -> fexpr

Yes, this works.


> And since SUBR's are a subset of FSUBR's, the fexpr conversion could
> be used for both. Would performance suffer?

Just a bit, because a cons occurs upon each call at runtime.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to