Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mlynch/scheming
- Owner: mlynch
- Created: 2018-08-25T21:48:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T21:19:38.000Z (over 6 years ago)
- Last Synced: 2024-12-05T11:04:18.383Z (29 days ago)
- Language: TypeScript
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.