Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Parsing in JavaScript: all the tools and libraries you can use. Parent comment
function as_and_bs() { return parse_text("aaaaabbbaaaabb", make_grammar( parse_text("root : (\"a\" SEQ \"b\" SEQ)SEQ OPT", iparse_grammar))) }
The code can be found at https://github.com/FransFaase/ParserWorkshop/
There are no comments on this comment yet.
function as_and_bs() { return parse_text("aaaaabbbaaaabb", make_grammar( parse_text("root : (\"a\" SEQ \"b\" SEQ)SEQ OPT", iparse_grammar))) }
The code can be found at https://github.com/FransFaase/ParserWorkshop/