geast
v0.0.9
Published
Generic Abstract Syntax Tree, with visitor pattern
Downloads
10
Readme
Geast
Generic Abstract Syntax Tree, with visitor pattern.
Versions
- Version 0.0.1, first version.
- Version 0.0.2, conditional node with then and else body.
- Version 0.0.3, custom node definition, change value of existing properties, define custom property in node.
- Version 0.0.4, return value in
node.process(processor)
. - Version 0.0.5, break, continue, indexed nodes
- Version 0.0.6, return node
- Version 0.0.7, rename assignment node to assign node, minor changes
- Version 0.0.8, array, method, eval nodes; function node refactor; lexer property in nodes
- Version 0.0.9, node to object
Previous work
TBD
References
TBD
To Do
- Convert tree to object
License
MIT
Contribution
Feel free to file issues and submit pull requests — contributions are welcome.
If you submit a pull request, please be sure to add or update corresponding
test cases, and ensure that npm test
continues to pass.