- 主頁 [whitequark.github.io]
Ruby library for working with abstract syntax trees
ast 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 classes for additional recommendations and design patterns.
其他與 ruby-ast 有關的套件
- dep: ruby
- Interpreter of object-oriented scripting language Ruby (default version)
- 或者 ruby-interpreter