If you need a lexer/parser generator for JavaScript I would recommend : http://zaach.github.io/jison/ : it is what I am using for this project which is a query based search language heavily based off of MySQL : https://github.com/ryanzec/search-query.
My next step is going to be creating a directive that integrates that library with my extend text library https://github.com/nucleus-angular/extend-text (which supports auto complete) which should allow me to end up with something like Jira's advance issue search. I'll let you know when I have more on that part. On Fri, Apr 4, 2014 at 12:40 AM, Sander Elias <[email protected]> wrote: > Hi Olivier, > > You have set yourself a daunting task ;) > What needs to be done, is that you need to build a lexical scanner. And > probably a parser after that. > Do some reading in that area, and I will help you along. > If you want to do this the right way, you can't cut it with a couple of > regex expressions, although you surely will need a couple of those. > On the bright side, there are javascript lexers and parsers, and the > building blocks for those are also available. So if you really want to dive > into this, you don't need to create the really hard parts! > > Regards > Sander > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
