Re: [racket] A language mode for SQL

2013-05-10 Thread Stephen De Gabrielle
That's a shame, Anyway, I took a punt and created a tool by lifting http://planet.racket-lang.org/package-source/jaymccarthy/datalog.plt/1/0/drscheme/tool.ss into its own collection. I gave it a folder and an info.rkt file and popped it into collects. (raco setup datalog-editor-mode & restart DrRa

Re: [racket] A language mode for SQL

2013-05-09 Thread Jay McCarthy
On Thu, May 9, 2013 at 10:02 AM, Stephen De Gabrielle wrote: > 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 > 5.3.2.2--2013-01-26(295bb1e/a) [3m]. > (maybe I'm not looking hard enough - or I have an old

Re: [racket] A language mode for SQL

2013-05-09 Thread Neil Van Dyke
There have been several SQL-in-sexp libraries over the years. When done as Racket syntax extension, they can do some compile-type syntax checking. They also can automatically do escaping of values to avoid SQL injection attacks. The library I've used most recently is unfortunately closed so

Re: [racket] A language mode for SQL

2013-05-09 Thread Stephen De Gabrielle
Hi, I can't find one for SQL, but there do seem to be some other modes on Planet you could take a look at: https://www.google.co.uk/search?q=%22add-mode%22+site:planet.racket-lang.org 'add-mode' is documented at http://docs.racket-lang.org/tools/Editor_Modes.html Weirdly Datalog on planet seems t