[postmodern-devel] s-sql: Better join keyword recognition

Andreas Fuchs asf at boinkor.net
Thu Apr 9 20:41:25 UTC 2009


2009/4/9 Marijn Haverbeke <marijnh at gmail.com>:
> Hey Andreas,

Hi Marijn,

> I like the idea, but can't really live with the code you submitted.
> I've implemented something similar, except without the funky hacks,
> and with :natural occurring as a separate keyword, so you'd get...
>
>> (:select 'x 'y :from 'foo :natural :left-join 'bar :where (:= 'a 2))
>
> It's in the repository. Could you see if it works for you?

Works like a charm. Looking at it again, what I submitted is pretty
awful code; what you committed is way better.

Thanks a lot,
-- 
Andreas Fuchs, (http://|im:asf@|mailto:asf@)boinkor.net, antifuchs




More information about the postmodern-devel mailing list