Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Want to get started - would like to write a simple interpreter
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Francis Burton  
View profile  
 More options Nov 10 1996, 3:00 am
Newsgroups: comp.compilers
From: fbur...@nyx10.cs.du.edu (Francis Burton)
Date: 1996/11/10
Subject: Re: Want to get started - would like to write a simple interpreter

In <96-11-...@comp.compilers> Norman Hilton <nor...@kbss.bt.co.uk> writes:

>: I want to write an interpreter for a very simple language.
>: Can anyone give me some pointers on where to find the kind of
>: information I want?
>Try "Constructing Language Processors For Little Languages" by Randy
>M. Kaplan, published by John Wiley and Sons Inc., ISBN 0-471-59754-6.
>I have it but have not read it yet.

I bought this book on the basis of a recommendation I saw on Usenet
(probably comp.compilers) and a review at
http://frey.newcastle.edu.au/~acjbooks/Reviews/b675.r.nro and frankly
I was a little disappointed. I felt it didn't go deeply into the
subject at all, saying very little about the different ways of
handling flow control in interpreters (something which I had grappled
with myself in constructing my own "little language"). The book
suffered from the common fault of presenting too much code and too
little discursive material, at least in the chapters about the image
manipulation language. The code (disk not included) would have been
more useful if it had been tailored less to the specific application,
i.e. if a more general interpreter framework (with flow control!)  had
been presented. However, I appreciate the author's choice was for
sound didactic reasons, and overall I think the book is a reasonable
introductory-level text.

If you really want to learn about elegance and power in the design of
little languages, take a look at the papers published about Lua
(metapage at http://csg.uwaterloo.ca/~lhf/lua/ ) and study the source
code. Neat!

Francis
--
Send compilers articles to compil...@iecc.com,
meta-mail to compilers-requ...@iecc.com.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google