redchrom / lgears
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (1)
- Wiki (2)
- Graphs
-
Branch:
autotools
lgears /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
COPYING | Thu Apr 30 03:23:21 -0700 2009 | |
| |
COPYING.LESSER | Thu Apr 30 03:23:21 -0700 2009 | |
| |
Makefile.am | ||
| |
README | ||
| |
TODO | Mon May 04 08:06:58 -0700 2009 | |
| |
autogen.sh | ||
| |
configure.ac | ||
| |
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'

