Go to file
Yuichi Nishiwaki 4e83ad4843 s/pic_instruction/pic_opcode/g 2013-10-17 14:18:32 +09:00
bin add make stuff 2013-10-09 17:10:58 +09:00
include s/pic_instruction/pic_opcode/g 2013-10-17 14:18:32 +09:00
src implement direct threading VM 2013-10-17 13:54:48 +09:00
.gitignore ignore files generated by yacc/lex 2013-10-11 15:21:55 +09:00
Makefile add compiler option -Wall 2013-10-16 13:15:43 +09:00
README.md add README.md 2013-10-17 14:09:39 +09:00

README.md

This product is developed at the second-grade course, Informatic Science Basic Experiment class at the University of Tokyo.

Picrin - a lightweight scheme interpreter

Freatures

  • R7RS compatibility (but partial support)
  • reentrant design (all VM states are stored in single global state object)
  • bytecode interpreter (based on Stack VM technology)
  • direct threading VM
  • exact GC (simple mark and sweep strategy)

How to use it

  • build

      $ make build
    

    built executable binary will be under bin/ directory.

  • run

    Simply directly run the binary bin/picrin from terminal, or you can use make to execute it like this.

      $ make run
    

In the default option, when make command is called without arguments, it builds the binary and right after that dropped into the picrin interactive shell (REPL).

Authors

Yuichi Nishiwaki (yuichi.nishiwaki at gmail.com)