https://github.com/deraen/ebnf-completer
WIP
https://github.com/deraen/ebnf-completer
Last synced: 4 months ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/deraen/ebnf-completer
- Owner: Deraen
- Created: 2013-10-18T21:46:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-18T21:46:44.000Z (over 11 years ago)
- Last Synced: 2025-03-17T19:17:05.109Z (4 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EBNF Completer
WIP. This should eventually become autocompleter widget which
completer Lucene Query Language (or subset of it).e.g. user has written `name:Juho*` so now autocompleter would show that next
user should write/select `AND` or `OR` and then add another field-term -pair.Currently there is [ebnf](./lang.json) for subset of Lucene Query Language
which [Jison](http://zaach.github.io/jison/) uses. AST-tree is
then preprocessed...## Test
```
npm install
node index.js "field1:term1 OR field2:term2 OR field3:term3"
node index.js --process "field1:term1 OR field2:term2 OR field3:term3"
grunt
```