Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mawbye/interpreter-
interpreter written for programming languages course
https://github.com/mawbye/interpreter-
Last synced: 2 months ago
JSON representation
interpreter written for programming languages course
- Host: GitHub
- URL: https://github.com/mawbye/interpreter-
- Owner: mawbye
- Created: 2016-02-18T19:59:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T20:00:07.000Z (almost 9 years ago)
- Last Synced: 2024-04-24T16:41:48.477Z (9 months ago)
- Language: C
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readMe.txt
Awesome Lists containing this project
- AwesomeInterpreter - interpreter-
README
Justin Lim and Elliot Mawby
Dave Musicant, CS251
Interpreter test input files readMe.txt01 - tests letrec() by defining two recursive functions in letrec and then executes them in body. Also tests primitive arithmetics (+), (=), and (-).
02 - tests more primitive arithmetics: (*), (/), (<), (>), and (modulo). Also tests the difference between let and let*, which uses primitive (=).
03 - Demo cases from assignment example. Tests (car), (cdr), (cons), and (null?).
04 - simplified cases from previous Racket homework assignment. User defined functions first-n and nth that return the first-n and nth items of a given list. Tests (null?), (-), (=), (car), (cdr), and (cond).
Extra stuff: implemented (booleans?) primitive that tests whether input evaluates to a boolean. arithmetic primatives should evaluate to int or double based on input.