Re:Reader macros in Common Lisp
by chaitanya on Monday October 19, 2015 @10:27AM
(#10413077)
While I don't think readability is a problem if you are judicious with your use of reader macros, the real problem is that they don't play well with editing tools e.g. all those nice Emacs shortcuts like forward-sexp, backward-sexp, etc. won't work correctly with any JSON that you write in your Lisp files.
Forget JSON, the problems are evident even when using something like CL-INTERPOL, which makes minimal changes to the read-table.
Re:Reader macros in Common Lisp
by sklogic on Monday October 19, 2015 @10:48AM
(#10413227)
Yes, of course you need your IDE to play well with the reader macros. That's why I use PEGs to construct such macros and to provide a feedback for the IDE while parsing (e.g., token locations, definitions, etc.).
Forget JSON, the problems are evident even when using something like CL-INTERPOL, which makes minimal changes to the read-table.