1 repository
Transforming source code into abstract syntax trees by selecting implementations for specific target language specification versions.
Distinct from Specification Versioning: Distinct from Specification Versioning: focuses on parser implementation selection based on target language versions rather than metadata management.
Explore 1 awesome GitHub repository matching software engineering & architecture · Version-Specific Code Parsing. Refine with filters or upvote what's useful.
Parser is a Ruby source code parser that converts raw source text into structured abstract syntax trees for static analysis and code manipulation. It features dynamic dispatch mechanisms that select specific grammar and tokeniser implementations at runtime, supporting both the executing interpreter version and explicitly targeted language specification versions. The library constructs abstract syntax tree nodes as frozen, immutable objects while tracking exact source file coordinates and character ranges for each node. Developers can supply custom builder objects to control how tree nodes ar
Transforms source code into abstract syntax trees by selecting the appropriate implementation for a specific target language version.