Hacker GitHub

← All repos

leafo/moonparse

View on GitHub ↗ ★ 4 MoonScript

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2015-11-17 · latest 2020-02-02

Mentions per year 3 mentions · busiest year 2015 (1)
20082026
  1. …with writing an lpeg alternative that works more like a parser generator, experimented here https://github.com/leafo/moonparse * Formalizing the syntax transformation pipeline (this would be how things like macros could be implemented) If…
  2. …with compiling LPeg style grammars to C, for even more speed. This uses the peg library: https://github.com/leafo/moonparse You can see how the grammar looks here: https://github.com/leafo/moonparse/blob/master/parse.peg.moo...
  3. …is then compiled to c and linked into a Lua module, you can see how the parser is written here: https://github.com/leafo/moonparse/blob/master/parse.peg.moo...
    comment by leafo · 2015-11-17 · in Ragel State Machine Compiler