TinyPie

Tree-Based Interpreter for a simple TinyPie language
Download

TinyPie Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Publisher Name:
  • Ruslan Spivak
  • Publisher web site:
  • http://github.com/rspivak/

TinyPie Tags


TinyPie Description

Tree-Based Interpreter for a simple TinyPie language TinyPie is a tree-based interpreter for a simple programming language with a Python-like syntax. It executes source code by constructing Abstract Syntax Tree(AST) and walking the tree.It's based on Pie language from 'Language Implementation Patterns'. Ch.9 Quote from the book: "A tree-based interpreter is like a compiler front end with an interpreter grafted onto the end instead of a code generator".Goals of the project:1. Self-education2. To serve as an example for people interested in crafting their own interpreter in Python for a simple programming language or DSL


TinyPie Related Software