Re: Implementing a stack-based interpreter

Marco van de Voort <marcov@stack.nl>
3 Aug 2005 01:32:12 -0400

          From comp.compilers

Related articles
[2 earlier articles]
Re: Implementing a stack-based interpreter mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2005-07-22)
Re: Implementing a stack-based interpreter gah@ugcs.caltech.edu (glen herrmannsfeldt) (2005-07-22)
Re: Implementing a stack-based interpreter john.carter@tait.co.nz (John Carter) (2005-07-22)
Re: Implementing a stack-based interpreter Jan.Bogaerts@telenet.be (Jan Bogaerts) (2005-07-22)
Re: Implementing a stack-based interpreter anton@mips.complang.tuwien.ac.at (2005-07-26)
Re: Implementing a stack-based interpreter dot@dotat.at (Tony Finch) (2005-07-26)
Re: Implementing a stack-based interpreter marcov@stack.nl (Marco van de Voort) (2005-08-03)
Re: Implementing a stack-based interpreter mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2005-08-05)
Re: Implementing a stack-based interpreter rossen.radev@gmail.com (aquarin) (2005-08-05)
Re: Implementing a stack-based interpreter tk@ic.unicamp.br (Tomasz Kowaltowski) (2005-08-07)
Re: Implementing a stack-based interpreter kszabo@bcml120x.ca.nortel.com (2005-08-07)
Re: Implementing a stack-based interpreter haberg@math.su.se (2005-08-10)
| List of all articles for this month |

From: Marco van de Voort <marcov@stack.nl>
Newsgroups: comp.compilers
Date: 3 Aug 2005 01:32:12 -0400
Organization: Stack Usenet News Service
References: 05-07-070 05-07-080
Keywords: interpreter, Basic
Posted-Date: 03 Aug 2005 01:32:12 EDT

On 2005-07-23, Dmitry A. Kazakov <mailbox@dmitry-kazakov.de> wrote:
> On 17 Jul 2005 13:52:46 -0400, cvrebert@gmail.com wrote:
>
>> I know this is comp.compilers, but since there isn't a
>> comp.interpreters, I figure this is the right place to ask.
>> I'm trying write an interpreter for a programming language but haven't
>> been able to find anything on how to write a stack-based interpreter.
>> If anyone could point me to a book/website I'd be much obliged.
>
> http://www.dmitry-kazakov.de/ada/components.htm
>
> contains an example of infix expression interpreter (two stacks are used.)
> See also "recursive descent parsers."


I also have a Pascal (Delphi) example of this here:


http://www.stack.nl/~marcov/symbolic.zip


Post a followup to this message

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