whitequark/parser
View on GitHub ↗ ★ 1,646 Yacc
A Ruby parser.
8 mentions on Hacker News by 8 people: 0 stories, 8 comments · first 2015-07-08 · latest 2026-04-05
20082026
-
Even Ruby `parser` gem uses S-expressions in their documentation: https://github.com/whitequark/parser/blob/master/doc/AST_FOR...
comment by petalmind · 2026-04-05 · in Rubysyn: Clarifying Ruby's Syntax and Semantics -
…worked on Rubinius for a while (an implementation of Ruby), and helped out with a parser for Ruby ( https://github.com/whitequark/parser ). The Ruby developers really liked changing their already impossible syntax in even more impossible…
comment by YorickPeterse · 2023-11-16 · in The Inko Programming Language -
Well described. Also I found this on github. https://github.com/whitequark/parser
comment by progitter · 2023-06-13 · in Rewriting the Ruby parser -
…just ported whitequark's parser [1] over to tree-sitter's grammar DSL and scanner API. [1] https://github.com/whitequark/parser
comment by dcreager · 2021-02-22 · in Tree-sitter: an incremental parsing system for programming tools -
…3rd party parser, begrudgingly maintained by someone who (AFAIK) doesn't even write Ruby anymore: https://github.com/whitequark/parser When I see new language features like this, I think of how Ruby's entire tooling ecosystem depends on…
comment by jbackus · 2020-09-10 · in Ruby adds experimental support for rightward assignments -
…itequark.org/blog/2013/04/01/ruby-hacking-guide-ch... It also changes syntax in patch level versions: https://github.com/whitequark/parser .
comment by hyperpape · 2020-01-31 · in Compiler Construction by Niklaus Wirth [pdf] -
…ISO specification ( https://www.iso.org/standard/59579.html ), albeit for 1.9.x syntax (IIRC). [2]: https://github.com/whitequark/parser [3]: Which, notably, just takes Ruby's `rubyNN.y` and exposes the AST as Ruby objects.
comment by woodruffw · 2017-12-25 · in A criticism of Ruby (2013) -
>but Ruby has pretty terrible support for parsing Ruby https://github.com/whitequark/parser Neither unmaintained, broken nor just for old versions. It has some really minor incompatibilities though: https://github.com/whitequark/parser#know…
comment by cremno · 2015-07-08 · in Ruby Is Defined by Terrible Tools