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

Andi Kleen <freitag@alancoxonachip.com>
28 Apr 2004 15:22:12 -0400

          From comp.compilers

Related articles
[3 earlier articles]
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: Andi Kleen <freitag@alancoxonachip.com>
Newsgroups: comp.compilers
Date: 28 Apr 2004 15:22:12 -0400
Organization: unorganized
References: 04-04-041
Keywords: interpreter
Posted-Date: 28 Apr 2004 15:22:12 EDT

chris.cranford@tkdsoftware.com (JA Peele) writes:
>
> Can anyone help with this topic? If this isn't applicable for this
> newsgroup, please let me know which is applicable.


There are lots of such VMs around. Basically most optimized interpreters
work this way, although they often don't save the their code
into files, but just keep it around in memory.


If you need something BASIC specific: iirc the StarBasic interpreter
in OpenOffice compiles to a VM internally. I'm not sure it allows to
save the immediate files though. You could probably extract it from
their source base and reuse it in your application. StarBasic is a
pretty complete VisualBasic like BASIC.


-Andi


Post a followup to this message

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