Whoops, just saw: On Nov 16, 2008, at 8:55 AM, Rich Hickey wrote: > I've added #! as a to-end-of-line comment, like ; So never mind. Thanks, Rich! -S
On Nov 16, 1:12 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---