Skip to content

ajlopez/geast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Generic Abstract Syntax Tree, with visitor pattern

Resources

License

Stars

Watchers

Forks

Packages

No packages published