One (hackish) solution would be to write a wrapper script in some
other scripting language that chops off the #! line before running
Clojure.

But maybe, as a special case, the Clojure reader could ignore #! on
the first line.  I think some Schemes do that.
-S

On Nov 15, 7: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.
>
> 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