The Artima Developer Community
Sponsored Link

Weblogs Forum
On Implementing an Interpreter

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

On Implementing an Interpreter (View in Weblogs)
Posted: Apr 7, 2007 5:57 PM
Reply to this message Reply
Summary
Would you like to know how to write an interpreter? Many programmers have asked me the question, so I wrote a short article explaining how the Cat interpreter works in detail.
Advertisement

Many programmers would like to know how to implement an interpreter, so I've written an article ( http://code.google.com/p/cat-language/wiki/HowTheInterpreterWorks ) explaining step-by-step how the Cat interpreter works, using psedo-code and links to the public domain C# source files. The grammar parsing and abstract syntax tree (AST) generation classes were designed to be pluggable into any application, and is also public domain.

Cat is a functional stack-based programming language implemented in C#. While the Cat interpreter itself is released under the MIT license, all of the source code files are public domain. This means you can use them as-is in any project without obligation.

Topic: On Implementing an Interpreter Previous Topic   Next Topic Topic: Fun With Automated Characterization Test Generation


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us