|Virtual Machine - Tiny Basic email@example.com (Hugo Rozas M.) (2000-08-20)|
|Re: Virtual Machine - Tiny Basic Brent.Benson@oracle.com (Brent Benson) (2000-08-27)|
|Re: Virtual Machine - Tiny Basic firstname.lastname@example.org (Tzvetan Mikov) (2000-09-08)|
|Re: Virtual Machine - Tiny Basic email@example.com (2000-09-09)|
|From:||"Hugo Rozas M." <firstname.lastname@example.org>|
|Date:||20 Aug 2000 23:59:09 -0400|
|Keywords:||Basic, interpreter, question|
Hi 2 All;
I will make some newbie questions; Plz. sorry about that.
I am making a tiny basic interpreter and I have seen that
there is two ways of do that :
1- The first one is to read the source and generate intermediate
code; Then and Interpreter reads and executes the tokenized
2- The second one is to generate some kind of pseudo-Assembler,
then a virtual machines reads and executes this.
I seems that actually the second method (VM) is the most popular. My
question is why?; When I generate a pseudo-Assembler that needs to be
interpreted and executed by the VM; I'am not creating another layer
that will slow down the execution?
If VM is the way to go, someone knows a page that shows the theory of
Virtual Machine design?
Thanx in Advance
Return to the
Search the comp.compilers archives again.