Hi all,
I'd like to learn how to create a new interpreted programming language for didactic purpose.
I've found many books that teach how to create a bare bone compilers, but only a few that teach something cool about interpreters.
I've found these two:
Building Parsers with Java - Steven John Metsker (link)
Writing Compilers and Interpreters: A Software Engineering Approach - Ronald Mak (link)
The first one looks good, but afaik it use java (while I would prefer to use C/C++ to write an interpreter)
Does anybody can suggest me a book ? has anybody tried one of those two books ??
Many thanks!
Books about writing an interpreter
Page 1 of 14 Replies - 1682 Views - Last Post: 07 July 2014 - 02:46 AM
Replies To: Books about writing an interpreter
#2
Re: Books about writing an interpreter
Posted 01 July 2014 - 07:01 AM
I can't find it right now, but I thought that there was a paper or article on the evolution and development of Lua. When I read it, I remember it being as mind opening as when I first read Crenshaw's Let's Build a Compiler back in the late 80's. Both had equal balance of the philosophy of things (e.g. the "why") as well as the practical nuts bolts including compromises made (e.g. the "how").
#3
Re: Books about writing an interpreter
Posted 01 July 2014 - 09:02 AM
Well, I prefer "pratical" books over theory only ones
#4
Re: Books about writing an interpreter
Posted 05 July 2014 - 06:39 AM
Anyone ? Thanks!
#5
Re: Books about writing an interpreter
Posted 07 July 2014 - 02:46 AM
Martin Fowler recently published Domain Specific Languages. It's aimed at writing interpretors for niche languages to embed in larger programs. However, what it does very well is present a variety of approaches for accomplishing the task.
Page 1 of 1

New Topic/Question
Reply



MultiQuote



|