I think LispReader.java fails at #1 as well. On Fri, Apr 10, 2015 at 9:34 PM, Bill Cohagan <coha...@acm.org> wrote:
> How about Clojure's LispReader.Java at > https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/LispReader.java. > Don't know if it'd do #3 (saving state for restart) > > Bill > > > On Friday, April 10, 2015 at 5:11:31 PM UTC-5, Jason Felice wrote: > >> Are there any Clojure or EDN scanners which are useful for syntax >> highlighting? >> >> What would make it useful: >> >> 1. It reads '(foo) as left-paren, symbol "foo", right-paren rather than >> '(foo) (this is because brackets are highlighted independently). >> 2. It keeps line number and column number information >> 3. It is restartable if the state is saved from the start point. >> (Necessary for large files.) >> >> Thanks in advance! >> -Jason >> > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.