Hi Language
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.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment