Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mlynch/scheming

Prototype scheme interpreter for practice purposes, very incomplete
https://github.com/mlynch/scheming

Last synced: 22 days ago
JSON representation

Prototype scheme interpreter for practice purposes, very incomplete

Awesome Lists containing this project

README

        

# Scheming

This is a prototype scheme interpreter for practice purposes. It exists only to practice/demonstrate the process of building
a simple interpreter for a simple language.

There are three passes in this interpreter. Pass one converts a raw source file into a stream of tokens. Pass two
then parses those tokens and builds an Abstract Syntax Tree corresponding to some basic scheme constructs. Pass three
then recursively evaluates this AST and returns a value.

The program can only really run the provided sample, but adding more features would be straightforward.