Re: [go-nuts] Boolean query string conversion into functional logic

2017-11-01 Thread Jose
Thanks, really useful! On Wed, Nov 1, 2017 at 2:18 AM, Hamish Ogilvy wrote: > Hey Jose, > > Yep, might be worth a look at: https://github.com/influxdata/influxql for a > pretty advanced and open source version. Also look at Rob Pike's calculator > talk: https://www.youtube.com/watch?v=PXoG0WX0r_E

Re: [go-nuts] Boolean query string conversion into functional logic

2017-10-31 Thread Hamish Ogilvy
Hey Jose, Yep, might be worth a look at: https://github.com/influxdata/influxql for a pretty advanced and open source version. Also look at Rob Pike's calculator talk: https://www.youtube.com/watch?v=PXoG0WX0r_E That helped me a lot. You basically need a tokeniser and you then scan the input in

Re: [go-nuts] Boolean query string conversion into functional logic

2017-10-31 Thread Jose
Hi Hamish, Any updates on how to tackle this problem with current Go tools ? Is it useful to use some of the Go parse tools or AST ? Thanks On Sat, Feb 22, 2014 at 11:01 AM, Hamish Ogilvy wrote: > Cool javascript, nice way to visualise! RPN was a useful tip, found one > interesting one Go base