3 ms·
I found it very useful for writing a lexer and parser for a search DSL and React component recently: https://github.com/williamcotton/search-input-query https:
by williamcotton 2y ago
I found it very useful for writing a lexer and parser for a search DSL and React component recently:
https://github.com/williamcotton/search-input-query https://github.com/williamcotton/search-input-query
- zeroonetwothree 2y agoInteresting. I implemented something very similar (if not identical) a couple years ago (at work so not open source). I used a simple grammar and standard parser generator. It’s been nice to have the grammar as we’ve made tweaks over the years to change various behaviours and add features.