Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danhan52/interpreter
A racket interpreter written in C
https://github.com/danhan52/interpreter
Last synced: 3 months ago
JSON representation
A racket interpreter written in C
- Host: GitHub
- URL: https://github.com/danhan52/interpreter
- Owner: danhan52
- Created: 2016-01-23T16:26:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-23T18:52:43.000Z (almost 9 years ago)
- Last Synced: 2024-04-24T16:41:46.290Z (7 months ago)
- Language: C
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
- AwesomeInterpreter - interpreter
README
To use the interpreter run "make" to compile everything
Run "interpreter < inputFile" where inputFile is some Racket
source code of your choosing and the results will print
to the terminal window.All test files are in the ./test_files/ folder.
Files 1-4 are for the if/let assignment.
Files 5 and 6 are for the quote assignment.
Files 7-10 are for the define/lambda assignment.
Files 11-14 are for the primitives assignment.
Files 15-18 are for the final assignment.
Files 19 and onward are for testing anything else I may implement.I have implemented these things beyond the assignment description:
- null?
- zero?
- equal?
- list?
- length