https://github.com/xtaci/goscm
simple scheme interpreter
https://github.com/xtaci/goscm
Last synced: about 1 year ago
JSON representation
simple scheme interpreter
- Host: GitHub
- URL: https://github.com/xtaci/goscm
- Owner: xtaci
- License: mit
- Created: 2015-11-04T06:01:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-07T05:49:59.000Z (over 10 years ago)
- Last Synced: 2024-12-31T07:15:24.313Z (over 1 year ago)
- Language: Go
- Size: 137 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goscm
simple scheme interpreter
#substituation rule
To evaluate an application:
Evaluate the operator to get procedure
Evaluate the operands to get arguments
Apply the procedure to the arguments
Copy the body of the procedure.
subsituting the arguments applied
for the formal parameters of the pocedure.
Evaluate the resulting new body.