Hi,

I just wrote a little PicoLisp script (for pil32) that "simulates" the REPL, quite similar to the one I did for Ersatz a while ago, <http://picolisp.com/5000/!wiki?SwingRepl>. The new REPL script looks like this:


(in NIL
    (until (eof)
        (let (ProgText (pack (line))
                Prog (str ProgText)
                Result (run Prog) )
            (prinl "-> " (sym Result))
            (flush) ) ) )

It works quite fine, but one minor flaw is that, when you're running this REPL, '@' always returns NIL. Is there some simple way to fix that?

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

Reply via email to