From: | Ken Rose <kenrose@tfb.com> |
Newsgroups: | comp.compilers |
Date: | 28 Apr 2004 15:21:58 -0400 |
Organization: | Posted via Supernews, http://www.supernews.com |
References: | 04-04-041 |
Keywords: | interpreter |
Posted-Date: | 28 Apr 2004 15:21:58 EDT |
JA Peele wrote:
> I need to embed a BASIC-like BYTECODE/PCODE host engine in my
> application framework so customers can write simple BASIC-like scripts
> to customize the application. An example of a BASIC-Like script would
> be:
There's a simple BASIC interpreter that's an example in "Developing
Applications with Objective Caml", at
http://caml.inria.fr/oreilly-book/, more specifically in the second
section of chapter 6, at
http://caml.inria.fr/oreilly-book/html/book-ora058.html
Even if you can't use it directly, it does a pretty good job of
explaining how an interpreter works. It doesn't write out a bytecoded
intermediate, though. You'll need to take care of that.
- ken
Return to the
comp.compilers page.
Search the
comp.compilers archives again.