Add support for Clojure's reader macros#35
Conversation
|
@countvajhula I'm unsure if the Clojure interface file is the best place for Clojure specific functionality? |
|
And a second question re. process is; would you rather small PRs that focused on say one reader macro or one PR for all of Clojure's reader macros? |
| (symex-clojure-comment-reader-macro count))) | ||
|
|
||
| (defun symex-clojure-comment-reader-macro (count) | ||
| "Comment symex using clojure's comment reader macro" |
There was a problem hiding this comment.
I was a little confused by this docstring - maybe it should say "... using clojure's syntax for commenting reader macros"
|
@dcostaras Probably one PR for all of them (the existing PRs are fine). And yeah the clojure interface file is a good place for it. |
| (let ((count (symex--remaining-length))) | ||
| (symex-clojure-comment-reader-macro count))) | ||
|
|
||
| (defun symex-clojure-comment-reader-macro (count) |
There was a problem hiding this comment.
I don't see these functions being used anywhere - is the plan for them to be used from symex-comment and symex-comment-remaining?
|
Would love to see some before / after examples to get a sense of what we're going for. Something like what's in the description for this issue. |
Summary of Changes
Clojure has a number of reader macros, some of which have differing syntax to other lisps. This PR adds support for the unique reader macros.
Public Domain Dedication