CLSQL reader syntax and SLIME
Victor <[email protected]> Sun, 29 Sep 2013 22:03:33 +0300
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <op.w36sj7hf4lizsz@vanyakin-nb> |
Hi, Whilst developing an app I've struck into a problem that a number of other people did as well: (clsql:ENABLE-SQL-READER-SYNTAX) not working nicely with SLIME. This leads to brackets in the CLSQL queries to cause errors. After searching internetz for some time I've found a nice solution: cl-syntax. Calling (cl-syntax:use-syntax :clsql) at the head of a source file and *slime-repl ...* does the trick. Just don't forget to add :cl-syntax and :cl-syntax-clsql to the list of dependencies. CL-SYNTAX project home page is: https://github.com/m2ym/cl-syntax Thought that others might be interested. Thanks, Victor