Re: Interpreter design

"Venkatesha Murthy" <gvmt@localhost.vsnl.net.in>
19 Jan 2001 23:17:21 -0500

          From comp.compilers

Related articles
Interpreter design jcgil@gmv.es (Juan Carlos Gil Montoro) (2001-01-11)
Re: Interpreter design basile.starynkevitch@wanadoo.fr (Basile STARYNKEVITCH) (2001-01-18)
Re: Interpreter design ian@jawssystems.com (2001-01-18)
Re: Interpreter design kszabo@nortelnetworks.com (Kevin Szabo) (2001-01-18)
Re: Interpreter design steck@rice.edu (2001-01-18)
Re: Interpreter design gsc@zip.com.au (Sean Case) (2001-01-19)
Re: Interpreter design gvmt@localhost.vsnl.net.in (Venkatesha Murthy) (2001-01-19)
Re: Interpreter design jcgil@gmv.es (Juan Carlos Gil Montoro) (2001-01-19)
Re: Interpreter design guerby@acm.org (Laurent Guerby) (2001-01-19)
Re: Interpreter design neelk@alum.mit.edu (2001-01-19)
Re: Interpreter design anton@mips.complang.tuwien.ac.at (2001-01-20)
Re: Interpreter design nr@labrador.eecs.harvard.edu (2001-01-26)
RE: stack-based vs. register-based sjmccaug@bluestem.prairienet.org (Scott J. McCaughrin) (2001-01-26)
[1 later articles]
| List of all articles for this month |
From: "Venkatesha Murthy" <gvmt@localhost.vsnl.net.in>
Newsgroups: comp.compilers
Date: 19 Jan 2001 23:17:21 -0500
Organization: Compilers Central
Keywords: design, architecture
Posted-Date: 19 Jan 2001 23:17:21 EST

Kevin Szabo wrote:


> Kernighan and Pike's book 'The unix programming environment'
> has an exercise where you build an interpreter called 'HOC'.
> Good book, well worth the read.


But then HOC was amenable to a stack computer. Is every interpreted
language that way? Runnable on a stack computer? Also, the exercise is
more an exercise in YACC, tho' the interpreter aspect is very useful
also. But I agree it's a good book; esp. the HOC part.


Venkatesh
[I've seen a lot of stack-based interpreters. They're easy to write,
regardless of the underlying machine's architecture. -John]





Post a followup to this message

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