|
|
|
|
|
by lispm
2716 days ago
|
|
I'm not sure it is a good idea to use reader macros to implement the syntax. Probably better to implement a new parser for it. The Clojure syntax is sufficiently different from Common Lisp, so that it might be a pain to implement that syntax as reader macros. Generally I would think that reader macros are not a general mechanism to implement Lisp-like syntax, but specifically Common Lisp lexical syntax and extending/modifying it. |
|
1. Package/namespace differences as CL has top level packages and clojure has nested packages. In CL keywords are symbols in the keyword package but in clojure they are symbols starting with a colon in any package.
2. Using e.g. {} or :for as a function
3. Different object systems.