I am creating a DSL that has clojure-LISP syntax.  I thought briefly
that the read function would be ideal for reading the files for this
DSL but I would need line and character numbers attached to every item
read from the file so I can give good error feedback.

"read" doesn't appear to be the answer here; has anyone solved this
problem?  It is more serious than macros as this DSL is going to be
very involved and need several processing steps before outputting the
final format.  I really don't want to reimplement anything; perhaps I
could use clojure's reader if it reads to a datastructure before doing
symbol lookups and such.

Chris

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to