Happy !

Guille / Phlisp

Project infos

License MIT
Tags interpreter, pharo, list processor, parser
Creation date 2015-04-22
Website

Monticello registration

About Phlisp

Phlisp is a simple list processor for evaluating simple expressions in the form of a list

#( receiver selector argument1 argument2 ...)
This avoids the necessity of a full parser, and allows us to test a minimal system without the existence of a compiler. Phlisp is used as follows: ###Evaluating
Phlisp new evaluate: #(4 #between:and: 2 7).
###Parsing
Phlisp new evaluateString: '(4 between:and: 2 7)'
###Special bindings Phlisp allows us to define special bindings into a list
lisp := Phlisp new.
lisp evaluator bindings: #self put: self.
self assert: (lisp evaluate: #(self)) equals: self.