On Fri, Feb 5, 2010 at 12:56 AM, Greg <g...@kinostudios.com> wrote: > A much easier solution is to go with a lisp designed for exactly the task > of scripting. > > Woah! Seems like an understatement. This newLISP looks POWERFUL. Lot's of new stuff to read. Thank you, thank you.
> I whole-heartedly recommend newLISP for this: > > http://www.newlisp.org/ > > Clojure is excellent when you need a powerhouse LISP capable of great > feats, but newLISP is far better suited for scripting tasks, it was designed > for that. > > Or you can implement a *nix shell in Clojure. :-p > > - Greg > > On Feb 5, 2010, at 12:42 AM, Tim Clemons wrote: > > > Perhaps the solution is to have a *nix shell implemented in Clojure. > > That would limit the start-up issue to a single initial instance. > > Then the user can proceed to use regular command-line functionality > > interspersed with Clojure scripts. Think of it as a hybrid REPL. > > > > On Feb 4, 9:35 am, Phil Hagelberg <p...@hagelb.org> wrote: > >> On Thu, Feb 4, 2010 at 8:33 AM, Stuart Sierra > >> > >> <the.stuart.sie...@gmail.com> wrote: > >>> Clojure can certainly do these things; clojure-contrib contains many > >>> file and io-related utilities. But remember that Clojure, like any > >>> Java program, takes more time to start up than "scripting" languages > >>> like Perl/Bash/Ruby/Python, so it may be less suitable for programs > >>> that you intend to run at the command-line. > >> > >> Also relevant is the fact that launching Clojure from the command-line > >> is very inconvenient compared to scripting languages. If you want > >> something simple you can just put on your path, you'll need to wrap it > >> in a bash (or other language) script anyway to handle the classpath, > >> etc. The combination of startup time and the need to roll your own > >> bash script even for simple things has kept me from wanting to use > >> Clojure as a perlish-replacement. > >> > >> -Phil > > > > -- > > 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<clojure%2bunsubscr...@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 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<clojure%2bunsubscr...@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 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