Interesting talk on using PEGs to parse Clojure in Cursive to give good syntax error messages: https://www.youtube.com/watch?v=kt4haSH2xcs (the messages are largely machine-generated!)
I've compiled the parser for my Garden programming language to wasm, so I can offer a web playground: https://www.garden-lang.org/
It's over 600KiB of wasm just for a function that returns a parse error message! I'm not sure if that's a lot (cf JS) or a little (cf typical binaries).