Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://whitequark.github.io/ast/
A library for working with Abstract Syntax Trees.
https://whitequark.github.io/ast/
Last synced: 26 days ago
JSON representation
A library for working with Abstract Syntax Trees.
- Host: GitHub
- URL: https://whitequark.github.io/ast/
- Owner: whitequark
- License: mit
- Created: 2013-04-01T21:15:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T11:48:05.000Z (7 months ago)
- Last Synced: 2024-10-29T02:32:57.523Z (about 2 months ago)
- Language: Ruby
- Size: 160 KB
- Stars: 195
- Watchers: 17
- Forks: 25
- Open Issues: 4
-
Metadata Files:
- Readme: README.YARD.md
- Changelog: CHANGELOG.md
- License: LICENSE.MIT
Awesome Lists containing this project
- awesome-ruby-ast - ast
README
{AST} is a library for manipulating abstract syntax trees.
It embraces immutability; each AST node is inherently frozen at
creation, and updating a child node requires recreating that node
and its every parent, recursively.This is a design choice. It does create some pressure on
garbage collector, but completely eliminates all concurrency
and aliasing problems.See also {AST::Node}, {AST::Processor::Mixin} and {AST::Sexp} for
additional recommendations and design patterns.