redchrom / lgears
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (1)
- Wiki (2)
- Graphs
-
Tree:
8dd366d
commit 8dd366dae00f7f76478aed32c4d048bb45e88b23
tree 4a11d2960b6278e62d30f8037be6483f740403ca
parent 2e454663fe32988ee5381151edbadd0a565d5bf4
tree 4a11d2960b6278e62d30f8037be6483f740403ca
parent 2e454663fe32988ee5381151edbadd0a565d5bf4
lgears /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
COPYING | ||
| |
COPYING.LESSER | ||
| |
Makefile | ||
| |
README | ||
| |
TODO | ||
| |
debian/ | ||
| |
scheme/ | ||
| |
vm/ |
README
Education experiment on implementing scheme vm and compiler. Source structure: scheme - scheme sources scheme/sc - compiler itself vm - vm sources At this moment, you need a external scheme implementation to run the compiler, I prefer ypsilon, but you can use any r6rs implementation after rewriting some ypsilon-dependent code (I will do it in the future). So if you want to play with lgears: run `make' to build VM from scheme/ run `./main.scm test.scm' (need ypsilon) You will see a lot of debug info and compilation stage dumps. compiler will create files: compiled/test.scm.o - bytecode compiled/test.scm.dbg - debug symbols To execute bytecode run: `../vm/vm compiled/test.scm.o'

