realbasic-nug
[Top] [All Lists]

Re: More On BASIC interpreter

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: More On BASIC interpreter
From: Matthias Buercher <matti at belle-nuit dot com>
Date: Tue, 29 May 2001 21:31:26 +0200
>I have and and I have made similar things. Example I have a
>Java Script Byte code compiler and virtual stack machine done in C++ 
>using ANTLR among other things.

i would be very interested on the virtual stack machine in C++. do you 
have the source code. i am still looking for under-the-fly run code run 
400'000 times. as the host of it is C++, i have also to do the virtual 
machine in C++. for the moment, i created a stack of opcodes and a switch 
statement, which was slightly faster than an array of function pointers, 
which would be the most elegant.

matthias


-----------------------------------------------------
matthias buercher  belle nuit montage  fax 4112742114
matti at belle-nuit dot com        http://www.belle-nuit.com   
-----------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>