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) |
From: | "Avatar" <acampbellb@hotmail.com> |
Newsgroups: | comp.compilers |
Date: | 19 Nov 2005 02:28:47 -0500 |
Organization: | http://groups.google.com |
Keywords: | interpreter, question |
Posted-Date: | 19 Nov 2005 02:28:47 EST |
I am searching for reference implementations of a threaded interpreter
(as opposed to the traditional switch dispatch method). Any
suggestions would be greatly appreciated.
Thanks
[I've always taken it to mean that rather than a string of byte codes,
you have a string of routine addresses, and the dispatch is via
something that in C might be written goto *ip++;
There was a long thread in comp.compilers some years back about how you
could write fairly machine independent threaded C code using some gross
hacks. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.