-
Notifications
You must be signed in to change notification settings - Fork 0
mawbye/interpreter-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Justin Lim and Elliot Mawby Dave Musicant, CS251 Interpreter test input files readMe.txt 01 - 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.
About
interpreter written for programming languages course
Resources
Stars
Watchers
Forks
Packages 0
No packages published