Go to file
Yuichi Nishiwaki 5e96d05fd1 insert OP_POP into sequential operation 2013-10-18 02:29:11 +09:00
bin add make stuff 2013-10-09 17:10:58 +09:00
include insert OP_POP into sequential operation 2013-10-18 02:29:11 +09:00
src insert OP_POP into sequential operation 2013-10-18 02:29:11 +09:00
.gitignore ignore files generated by yacc/lex 2013-10-11 15:21:55 +09:00
Makefile add readline support 2013-10-17 17:08:33 +09:00
README.md fix grammatical error in README 2013-10-17 21:03:23 +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 threaded VM
  • exact GC (simple mark and sweep strategy)
  • advanced REPL support (multi-line input, etc)

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).

Requirement

picrin scheme depends on some external libraries to build the binary:

  • bison
  • yacc
  • make
  • gcc
  • readline

Authors

Yuichi Nishiwaki (yuichi.nishiwaki at gmail.com)