Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/guillep/astinterpreter
- Owner: guillep
- Created: 2019-03-15T13:32:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T11:53:03.000Z (almost 6 years ago)
- Last Synced: 2024-10-31T06:42:03.618Z (2 months ago)
- Language: Smalltalk
- Size: 25.4 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
```