[[tecsgen]](Ruby実装)はtecslib/core/bnf.tab.rbをRacc(LALR(1)パーサジェネレータ)でbnf.y.rbから生成している([[Patterns - 検証と調査 ...
Pythonのソースコード解析ツール OrionParser を2年間作ろうとしていた。 PLYで文法規則を書いて、テストして、壊して、直して。正直、何度も心が折れた。対応すべき構文が次から次へと出てきて、1つ直すと別が壊れる。そのうち手が止まった。 それがClaude Code ...
ビジネスに役立つ情報をメールでお届けします(無料) 企業もしくは官公庁など、組織団体に所属している方を対象としています。 この記事は、ソフトバンクアドベントカレンダー2025の18日目の記事です。 Ruby 本体(CRuby)に新たなパーサである Prism が ...
Programming computers used to be harder. Don’t get us wrong — today, people tend to solve harder problems with computers, but the fundamental act of programming is easier. We have high-level languages ...