On Fri, Aug 14, 2009 at 7:00 PM, Jonathan Smith
<jonathansmith...@gmail.com>wrote:

>
> It would be nice if someone wrote a separate extension to clojure that
> (reads in a text file and) that does tokenization and manipulation of
> said tokens (I'm thinking YACC, flex/bison sort of thing).
>
> (Then you could substitute in clojure/clojure macros to make 'syntax'
> tree, and pass it to eval...).
>

This I like better, and I may take a crack at doing this over the next
weekend.  Have some sort of parser object that starts life parsing the same
s-expression syntax as the standard Clojure reader but allows for
extensions.  This would sidestep the problems of changing the syntax of the
language on the fly, and it makes it obvious when to apply new macro forms
(before you parse the file, obviously).

Brian

--~--~---------~--~----~------------~-------~--~----~
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