Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter

Ken Rose <kenrose@tfb.com>
28 Apr 2004 15:21:58 -0400

          From comp.compilers

Related articles
[2 earlier articles]
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter bonzini@gnu.org (2004-04-21)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter lex@cc.gatech.edu (Lex Spoon) (2004-04-21)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter alex@iliasov.org (2004-04-21)
Basic-Like PCODE Compiler and Virtual Host/Interpreter chris.cranford@tkdsoftware.com (2004-04-21)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter chris.cranford@tkdsoftware.com (2004-04-28)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter chris.cranford@tkdsoftware.com (2004-04-28)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter kenrose@tfb.com (Ken Rose) (2004-04-28)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter freitag@alancoxonachip.com (Andi Kleen) (2004-04-28)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter arargh404@NOW.AT.arargh.com (2004-04-29)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter alex_mcd@btopenworld.com (Alex McDonald) (2004-05-02)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter thp@cs.ucr.edu (2004-05-08)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter Postmaster@paul.washington.dc.us (Paul Robinson) (2004-05-24)
Re: Basic-Like PCODE Compiler and Virtual Host/Interpreter kenrose@tfb.com (Ken Rose) (2004-05-30)
| List of all articles for this month |
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


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.