This package contains the Chevrotain-powered lexer and parser for Cloud CNC's human-centric search language.
- Ngram-based fuzzy-searching by default
- Literal matching:
"literal query"or'literal query'(Inspired by Google-search) - Boolean operators:
AND,OR, andNOT(Inspired by SQL) - Parentheses-based order-of-operations:
(a AND b) OR c(Inspired by math)
Since this package is used by the UI and API server for quite different purposes (query highlighting and Mongoose query generation, respectively), the concrete-syntax-tree interpreter/visitor is not included in this package.