A series of notes on a language under development
Monday, December 21, 2009
Towards a Top-Level Interpreter
I am looking at ways to build a top-level interactive interpreter. Best thing I can think of:
Compile a series of modules to a shared library.
Write an interpreter which compiles (untyped) expressions to thunks using libdl. A simple lambda to SKI to thunks compiler should be enough.
Evaluate thunks with the runtime.
Should do it. Needed: bindings of the runtime into the Hi language.
Post a Comment
Post Comments (Atom)