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
Return to the
comp.compilers page.
Search the
comp.compilers archives again.