Registry / utility / ast
library2.4.3rbrubygemsunverified

A library for working with Abstract Syntax Trees.

gem install ast
INSTALL
IMPORT
SIG · AST
A
ast
utilityrubyv2.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AST
require 'ast'

Create and inspect an AST node

require 'ast' node = AST::Node.new(:add, [AST::Node.new(:int, [1]), AST::Node.new(:int, [2])]) puts node.to_a.inspect
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.4.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Amazon
1
Resources
ast — gem install ast · libregistry