On Nov 15, 4:52 pm, Jeff Rose <[EMAIL PROTECTED]> wrote:
> Hi, I'm finding comments talking about reader macros, but nothing about
> defining them.  Does anyone know of an example for adding new read
> macros?  I'd like to define a #! macro that passes over the rest of the
> line so we can use clojure scripts just as easily as a ruby script would
> be.  If anyone knows another way to do this, that would be great too.

According to [1], the read table is not accessible to user programs.
You're trying to do shebang scripting right? You might find this [2]
useful.

[1] http://clojure.org/lisps
[2] 
http://en.wikibooks.org/wiki/Clojure_Programming#Shebang_Scripting_in_Clojure

-Adam

>
> Thanks,
> Jeff
--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to