[HN Gopher] Ohm's Peg-to-WASM Compiler
       ___________________________________________________________________
        
       Ohm's Peg-to-WASM Compiler
        
       Author : azhenley
       Score  : 21 points
       Date   : 2026-03-27 04:41 UTC (2 days ago)
        
 (HTM) web link (ohmjs.org)
 (TXT) w3m dump (ohmjs.org)
        
       | kristianp wrote:
       | I'd be interested to know some applications of ohm. What have
       | people built with it?
        
       | joshmarinacci wrote:
       | I'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
        
         | wslh wrote:
         | What is great about the Ohm approach compared to typical
         | lex/yacc/ANTLR parsers is that it avoids ambiguity by using
         | ordered choice (the first matching rule wins), instead of
         | requiring you to resolve conflicts explicitly. This makes
         | working with Ohm/PEGs less painful in the initial phase of a
         | project.
         | 
         | It's also important to highlight that this makes the parsing
         | process slower.
        
       ___________________________________________________________________
       (page generated 2026-03-29 23:00 UTC)