Re:Parsing in JavaScript: all the tools and libraries you ca...
by jchw on Monday May 24, 2021 @06:14PM
(#27270320)
This is pretty cool and useful! I had been doing bootleg parser combinators in JavaScript up until now. This works, although being someone who doesn't write Haskell I assume that the magic that makes parser combinators efficient is not easy to implement in most languages. (I've been using nom with Rust on the side too and it seems to do the same naive stuff that I do.)
If you ever want to parse binary data using JavaScript, I will always recommend the excellent Kaitai Struct project.
If you ever want to parse binary data using JavaScript, I will always recommend the excellent Kaitai Struct project.
https://kaitai.io/