Skip to content

Deraen/ebnf-completer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 for subset of Lucene Query Language which 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

Releases

No releases published

Packages

No packages published