Parsing absolutely anything in JavaScript using Earley algorithm – Medium