awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
whitequark avatar

whitequark/parser

0
View on GitHub↗

Parser

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 are instantiated and structured. Additionally, the library includes diagnostics and error reporting utilities that collect and display syntax warnings and parsing errors encountered during source analysis.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Ruby Source Code Parsers - Converts Ruby source code into an abstract syntax tree representation to analyze and inspect code structure.
  • Ruby Source Code Analysis - Parses Ruby source code into abstract syntax trees to inspect, transform, or analyze underlying code structures.
  • Ruby Source Code Parsers - Transforms Ruby source code into abstract syntax trees with exact location tracking and diagnostic reporting.
  • Source Coordinate Tracking - Tracks exact source file coordinates and character ranges for nodes within the generated syntax tree.
  • Abstract Syntax Tree Generators - Converts raw source code into structured tree representations that expose underlying grammar for analysis.
  • Immutable Nodes - Constructs abstract syntax tree nodes as frozen, immutable objects that eliminate concurrency risks.
  • Runtime-Specific Code Parsing - Transforms source code into abstract syntax trees using the exact language version of the interpreter currently executing.
  • Version-Specific Code Parsing - Transforms source code into abstract syntax trees by selecting the appropriate implementation for a specific target language version.
  • Syntax Diagnostics Collection - Gathers syntax warnings and parsing errors during the analysis of source code input.
  • Source Code Diagnostics Collectors - Gathers and outputs syntax warnings and parsing errors encountered during code analysis.
  • Language Version Dispatch Mechanisms - Dynamically selects specific grammar and tokeniser implementations at runtime to support multiple distinct language specification versions.
  • Custom Builders - Allows supplying custom builder objects to control how abstract syntax tree nodes are instantiated and structured.
  • Parser Diagnostics Reporting - Collects and displays error messages and warnings encountered during the parsing process to identify syntax issues.
  • Source Code - Collects and reports syntax errors and warnings from source files to identify code issues early.
1,642 stars·204 forks·Yacc·23 views

Star history

Star history chart for whitequark/parserStar history chart for whitequark/parser

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does whitequark/parser do?

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.

What are the main features of whitequark/parser?

The main features of whitequark/parser are: Ruby Source Code Parsers, Ruby Source Code Analysis, Source Coordinate Tracking, Abstract Syntax Tree Generators, Immutable Nodes, Runtime-Specific Code Parsing, Version-Specific Code Parsing, Syntax Diagnostics Collection.

Which projects share features with whitequark/parser?

Projects with overlapping indexed features include: swiftlang/swift-syntax — SwiftSyntax is a set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code. It… syntax-tree/mdast — The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming,… microsoft/tsdoc — TSDoc is a documentation standard and specification for writing structured comments in TypeScript code. It provides a… lark-parser/lark — Lark is a Python parsing toolkit used to define grammars and convert raw text into annotated parse trees. It serves as… sass/dart-sass — This project is a CSS stylesheet compiler that transforms Sass source code into standard CSS. It provides the primary… jeremyfa/yaml.js — This library provides a parser and encoder for YAML 1.2 data structures, enabling the transformation of human-readable…

Projects sharing features with Parser

These projects share indexed features with Parser. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • swiftlang/swift-syntaxswiftlang avatar

    swiftlang/swift-syntax

    3,720View on GitHub↗

    SwiftSyntax is a set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code. It parses source text into lossless syntax trees that keep every token, piece of trivia, and source position, so the original text can be rebuilt exactly. Those trees are the basis for the rest of the package: structural analysis, name lookup, diagnostics, and code rewriting. The package also covers Swift macro development. It provides protocols and an expansion engine for writing macros that inspect annotated code and generate new code at compile time. Macros can be bundled into s

    Swift
    View on GitHub↗3,720
  • syntax-tree/mdastsyntax-tree avatar

    syntax-tree/mdast

    1,441View on GitHub↗

    The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming, and serializing markdown documents. It serves as a comprehensive document processing architecture that translates between raw text markup and structured node representations in both directions. The capability surface covers syntax parsing for extended markdown features, custom syntax extensions, metadata blocks, and embedded expressions, alongside document serialization that converts syntax trees back into standard and extended markup formats. It includes node modeling and val

    astmarkdownsyntax-tree
    View on GitHub↗1,441
  • microsoft/tsdocmicrosoft avatar

    microsoft/tsdoc

    4,954View on GitHub↗

    TSDoc is a documentation standard and specification for writing structured comments in TypeScript code. It provides a portable system for defining metadata, tags, and cross-references within source code to ensure consistent parsing and rendering across different tooling. The project includes a doc comment parser that converts comments into a structured syntax tree and a validator that enforces syntax consistency. It allows for the definition of custom documentation tags through external configuration files and supports multiple syntax validation modes to assist with specification compliance.

    TypeScriptcommentsdoc-commentsdocumentation
    View on GitHub↗4,954
  • lark-parser/larklark-parser avatar

    lark-parser/lark

    5,914View on GitHub↗

    Lark is a Python parsing toolkit used to define grammars and convert raw text into annotated parse trees. It serves as an abstract syntax tree generator and a grammar definition language for specifying language rules through terminals and regular expressions. The library provides two primary parsing implementations: an Earley parsing library capable of handling all context-free languages, including those with ambiguity and left-recursion, and a high-performance LALR parsing library designed for deterministic languages with low memory overhead. Beyond core parsing, the toolkit includes capabi

    Pythoncykearleygrammar
    View on GitHub↗5,914
Compare all 6 related projects→

Curated searches featuring Parser

Hand-picked collections where Parser appears.
  • Language definition files
  • a programming language for building web applications