Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deraen/ebnf-completer
WIP
https://github.com/deraen/ebnf-completer
Last synced: 2 days ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/deraen/ebnf-completer
- Owner: Deraen
- Created: 2013-10-18T21:46:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-18T21:46:44.000Z (almost 11 years ago)
- Last Synced: 2023-03-24T13:26:53.459Z (over 1 year ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- 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
```