<- Back
Comments (17)
- joshmarinacciI’ve been following the Ohm project for years and it’s the best way to build parsers I’ve ever seen. I’ve used it to parse many program languages and even markdown. I’m happy to see it get even faster.https://joshondesign.com/2021/07/16/ohm_markdown_parser
- shooJosh Haberman has a good 2013 blog post discussing LL & LR parsers, theory vs practice, context-free grammars & Parsing Expression Grammars (PEGs): https://blog.reverberate.org/2013/09/ll-and-lr-in-context-wh...
- kristianpThe precursor to Ohm, Ometa [1,2] was created at the Viewpoints Research Institute some more papers at [3].[1] https://en.wikipedia.org/wiki/OMeta[2] https://tinlizzie.org/VPRIPapers/tr2008003_experimenting.pdf[3] https://tinlizzie.org/IA/index.php/Papers_from_Viewpoints_Re...
- kristianpI'd be interested to know some applications of ohm. What have people built with it?
- egonschieleI have been very curious to try Ohm. I'm currently using a hand-rolled parser combinator library, but Ohm looks slick. The online editor is nice too https://ohmjs.org/editor/
- wenerThe only thing I prefe peggyjs over ohm is runtime deps, I thinkg this might let ohm aot the grammar to avoid the deps.
- quotemstrAm I the only one who doesn't like PEGs and prefers EBNF-style parser generators? The order-dependence of PEG alternatives and the lack of ambiguity detection are footguns, IMHO
- ohmIt seems decent.