greenh / CJD

CJD is a system for documenting Clojure programs through the use of structured comments embedded in Clojure source code.
Other
12 stars 0 forks source link

Clojure syntax aspects are not handled properly #36

Closed greenh closed 11 years ago

greenh commented 11 years ago

Some aspects of Clojure syntax are not currently being handled appropriately.

  1. In Clojure, it's perfectly legitimate to write (1, 2, 3)... but this gets a number format error in NTLR.
  2. Commas in map constants occasionally appear separately, and cause not-even-number-of-elements errors in NTLR.
  3. Poioo parser is not allowing for documented existence of options in deftype and defrecord.
  4. Non-lists, i.e. nil, in source files generate an error.