Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guillep/astinterpreter

Basic AST interpreter for Pharo
https://github.com/guillep/astinterpreter

Last synced: 16 days ago
JSON representation

Basic AST interpreter for Pharo

Awesome Lists containing this project

README

        

# ASTInterpreter
Basic AST interpreter for Pharo

## Example

```smalltalk
interpreter := ASTInterpreter new.
context := AIRootContext new.
interpreter resetContext: context.

compiledCode := interpreter compile: '1+1'.
interpreter interpretDoIt: compiledCode.
```