yieldparser icon indicating copy to clipboard operation
yieldparser copied to clipboard

Parse using JavaScript generator functions — it’s like components but for parsing!

Results 19 yieldparser issues
Sort by recently updated
recently updated
newest added
trafficstars

https://two-wrongs.com/awk-state-machine-parser-pattern.html

- https://greenbytes.de/tech/webdav/rfc8941.html / https://datatracker.ietf.org/doc/html/rfc8941 - Test suite: https://github.com/httpwg/structured-field-tests

https://www.graphviz.org/doc/info/lang.html

- Tagged template string `composite()` - Takes any number of elements: regex, constant string, array of strings, or generator function. - Transforms into generator function. _Requires no changes to parser._...

https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form

See: - https://www.loganfranken.com/blog/831/es6-everyday-sticky-regex-matches/ - https://github.com/kitten/reghex

See: https://tools.ietf.org/html/rfc5322#section-3.4 ``` address = mailbox / group mailbox = name-addr / addr-spec name-addr = [display-name] angle-addr angle-addr = [CFWS] "" [CFWS] / obs-angle-addr group = display-name ":" [group-list] ";"...

See: https://semver.org Should return something like: `5.2.0+20130313144700` ```json { "major": 5, "minor": 2, "patch": 0, "isPreRelease": false, "metadata": "20130313144700" } ```

- `+-*/` - parens - evaluate them