mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
613 B
18 lines
613 B
# {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.
|
|
#
|
|
module AST
|
|
require_relative 'ast/node'
|
|
require_relative 'ast/processor'
|
|
require_relative 'ast/sexp'
|
|
end
|