Re: Threaded Interpreter

chandramouli gowrikumar <gowrikumar_ch@yahoo.com>
21 Nov 2005 22:46:03 -0500

          From comp.compilers

Related articles
Threaded Interpreter acampbellb@hotmail.com (Avatar) (2005-11-19)
Re: Threaded Interpreter anton@mips.complang.tuwien.ac.at (2005-11-21)
Re: Threaded Interpreter egagnon@sablevm.org (Etienne Gagnon) (2005-11-21)
Re: Threaded Interpreter jeffrey.kenton@comcast.net (Jeff Kenton) (2005-11-21)
Re: Threaded Interpreter gowrikumar_ch@yahoo.com (chandramouli gowrikumar) (2005-11-21)
Re: Threaded Interpreter ian.rogers@manchester.ac.uk (Ian Rogers) (2005-11-21)
Re: Threaded Interpreter dave@mips.complang.tuwien.ac.at (2005-11-27)
| List of all articles for this month |

From: chandramouli gowrikumar <gowrikumar_ch@yahoo.com>
Newsgroups: comp.compilers
Date: 21 Nov 2005 22:46:03 -0500
Organization: Compilers Central
References: 05-11-091
Keywords: interpreter

Hi Avatar,
You might want to look at the source code of Portable .NET. Their
engine (the VM) is implemented as a threaded interpreter.
http://www.southern-storm.com.au/portable_net.html


A few quick references, which would be of use for
understanding it are here:
http://www.complang.tuwien.ac.at/forth/threaded-code.html
http://wiki2.dotgnu.info/Design_20of_20the_20CVM_20interpreter
http://wiki2.dotgnu.info/Implementing_20a_20huge_20switch_2dcase_20loop


Let me know if you need further help in understanding
the source code.


Regards,
Gowri Kumar


> I am searching for reference implementations of a threaded
> interpreter (as opposed to the traditional switch dispatch
> method). Any suggestions would be greatly appreciated.


Post a followup to this message

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