This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Question regarding procedure compilation
Per Bothner wrote:
> ...
> Why not just:
> return (Procedure) scheme.eval("(lambda () "+rule+")");
>
> It's not perfect (for one thing a syntax error will display the
> wrong column number), but it is simple and documented.
Scheme.eval(InPort, Envronment) can be used to get the column number right.
http://www.gnu.org/software/kawa/Evaluating-Scheme-expressions-from-Java.html
Jim