Parsing absolutely anything in JavaScript using Earley algorithm – Medium
▻https://medium.com/@gajus/parsing-absolutely-anything-in-javascript-using-earley-algorithm-886edcc31e5
Let me start by saying — I was surprised how easy it was to write grammar for an Earley parser. I have been using regular expressions for over a decade. And I am used to parse things using regular expressions. Its fragile, its not always possible, etc. But it is fast and for the most part it serves the purpose.
Familiarising with parsing algorithms changed this attitude forever.
Looks like a really neat parsing toolkit.