asolove / happy-parserous

I want a happy parserous for Christmas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Happy Parserous

Screenshot: writing parsing rules and seeing how they match inside a sample text

⚠️ Doesn't work yet.

A JavaScript parser generator generator and visualizer, with a festival feel, designed for Advent of Code challenges.

  • Put in your sample input
  • Write parsing rules in a simple shorthand
  • Preview the matches
  • Generate readable JS code

Todo

  • Basic UI shape: named rules, visualize matches in string
  • Basic parser combinator library
  • Higher-level micro-language for writing rules e.g. digit* | character -> plus(many1(digit), character)
  • Parser state tracks character indexes for visualization
  • Visualize results in UI

About

I want a happy parserous for Christmas


Languages

Language:TypeScript 74.1%Language:HTML 25.9%