https://github.com/simmsb/some-scheme-compiler
A CPS transforming scheme compiler, Cheney on the MTA, etc
https://github.com/simmsb/some-scheme-compiler
c compiler continuation-passing-style language lisp scheme scheme-compiler
Last synced: 21 days ago
JSON representation
A CPS transforming scheme compiler, Cheney on the MTA, etc
- Host: GitHub
- URL: https://github.com/simmsb/some-scheme-compiler
- Owner: simmsb
- License: mit
- Created: 2018-05-17T19:05:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-18T06:26:28.000Z (over 4 years ago)
- Last Synced: 2025-04-14T02:03:58.270Z (21 days ago)
- Topics: c, compiler, continuation-passing-style, language, lisp, scheme, scheme-compiler
- Language: Rust
- Homepage:
- Size: 753 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# some-scheme-compiler
A scheme compiler that uses a Continuation Passing Style transformation.
It's similar to cyclone and chicken scheme in that we use the
C stack as a nursery 'heap', when the stack is exhausted we
migrate everything to the actual heap, then reset the stack.# Compiling and running
```
somescheme 0.1.0USAGE:
some-scheme-compiler [FLAGS] [OPTIONS]FLAGS:
-d, --debug
-h, --help Prints help information
-k, --keep-tmp
-V, --version Prints version informationOPTIONS:
-i, --inputSUBCOMMANDS:
compile Compile the program
help Prints this message or the help of the given subcommand(s)
run Run the progam
```