[racket] A language mode for SQL

From: Stephen De Gabrielle (stephen.degabrielle at acm.org)
Date: Thu May 9 12:02:50 EDT 2013

I can't find one for SQL, but there do seem to be some other modes on
Planet you could take a look at:

'add-mode' is documented at http://docs.racket-lang.org/tools/Editor_Modes.html

Weirdly Datalog on planet seems to have a editor mode, but it doesn't
seem to be
in datalog as distrubuted with DrRacket (full?) version [3m].
(maybe I'm not looking hard enough - or I have an old instance - I'll
check again wehn I get home)



On Wed, May 8, 2013 at 7:49 PM, Sean McBeth <sean.mcbeth at gmail.com> wrote:
> Is there a language mode for Racket, or perhaps a 3rd party library, that
> can do basic syntax checking for ANSI SQL? I hate writing a query, starting
> the app, getting through the UI to the point I'm working on, executing a
> command, and only THEN learning I have a syntax error from accidentally
> typing a period instead of a comma or some-such issue. It'd be nice if there
> were some set of macros that understood the basic SQL syntax could be used
> to generate arbitrary queries.
> I'm also not looking for an ORM. I don't need anything that tries to
> abstract the SQL away from me, as I am often in need of rather complex
> queries. I just want a thing that can check my syntax for my live code
> sometime before run-time.
> If there is no such thing currently, I'd be highly motivated to trying my
> hand at writing such a thing.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.