Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-07 Thread icylisper
I had been working on a tool that provides a persistent JVM for command line applications. It is called jark. It does not compete with any of the clojure build tools(lein, cljr), but cleanly integrates with them. You can find more about it here: http://icylisper.in/clojure/jark.html I am yet to m

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-06 Thread rberger
Cake (http://clojure-cake.org/) has a nice mechanism to get around the slow startup issue of JVM/Clojure. I built a couple of command line tools using that. And it has some other nice features for Clojure development as well. Rob On Mar 4, 1:29 am, Shlomi Fish wrote: > Hi all, > > I've decided t

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-06 Thread Justin Balthrop
Cake also aims to solve the startup time problem with a client/server architecture similar to nailgun. You can add '#!/usr/bin/env cake' to the top of clojure scripts you want to be executable, and there's even a built-in filter task for text manipulation inspired by 'perl -pe'. http://clojure-ca

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-06 Thread MarkSwanson
I use nailgun to solve the jvm startup time. It works very well. When I'm editing a 'script' in vimclojure I just hit \ef and my 'nail' is instantly compiled and available at the command line. It's about as painless as possible. I do create a small bash wrapper for each clojure script. The bash

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-05 Thread patrickdlogan
Well, reviving scsh and writing some clojure-ish macros for a lightweight, fast-starting scheme (e.g. gambit which can compile small utilities, has excellent unix process, file, and networking already) would be a *lot* easier than the effort to get any JVM language up to par for the same goal.

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-05 Thread Chas Emerick
On Mar 5, 2011, at 12:21 AM, Shantanu Kumar wrote: > On Mar 5, 2:17 am, Shlomi Fish wrote: > >>> On Mar 4, 2011, at 4:29 AM, Shlomi Fish wrote: a Clojure API and a convenient command line utility for performing quick system admin tasks, text manipulation tasks, command line scrip

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Shantanu Kumar
On Mar 5, 2:17 am, Shlomi Fish wrote: > Hi Chas, > > On Friday 04 Mar 2011 21:32:31 Chas Emerick wrote: > > > FYI, "ClojureScript" is generally taken to be the name of a > > Javascript-hosted runtime for Clojure.  Anyway… > > Yes, well, it was just a tentative name. I thought of calling it "lurk

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Shlomi Fish
Hi Chas, On Friday 04 Mar 2011 21:32:31 Chas Emerick wrote: > FYI, "ClojureScript" is generally taken to be the name of a > Javascript-hosted runtime for Clojure. Anyway… > Yes, well, it was just a tentative name. I thought of calling it "lurk" or "lurking" as well (descended from "Arc" -> "Pa

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Shlomi Fish
On Friday 04 Mar 2011 22:11:13 Ken Wesson wrote: > On Fri, Mar 4, 2011 at 2:32 PM, Chas Emerick wrote: > > I've actually come to think that perl may be a great Clojure host > > language > > Talk about Beauty and the Beast ... ;) :-) Well, to quote Larry Wall from here: http://perl.org.il/prese

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Shlomi Fish
Hi Armando, thanks for your E-mail. On Friday 04 Mar 2011 21:29:37 Armando Blancas wrote: > Have you look at Scsh? > > http://www.scsh.net/about/what.html > > It's not the most trendy, but being a Scheme at least is nice. > I've learned some SICP Scheme as part of reading the SICP courses and

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Shlomi Fish
Hi Mark, On Friday 04 Mar 2011 21:08:03 Mark Rathwell wrote: > >> I've decided to offer a 200 USD bounty for implementing "ClojureScript > > I think you are missing a couple zeros in your offer price ;) > :-) . Well, code bounties do not tend to cover all of the time of writing the program, a

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Shlomi Fish
Hi Stuart, thanks for your insights. On Friday 04 Mar 2011 20:41:20 Stuart Sierra wrote: > There are difficulties with using Clojure -- or any JVM language -- for > system administration. The first and biggest is the JVM startup time, > making it impractical for command-line use without a separa

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Miki
> The first and biggest is the JVM startup time, I agree. Maybe newlisp (which starts up blazingly fast) will fit the bill better. -- 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

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Mikhail Kryshen
On Fri, 4 Mar 2011 10:41:20 -0800 (PST) Stuart Sierra wrote: > There are difficulties with using Clojure -- or any JVM language -- for > system administration. The first and biggest is the JVM startup time, > making it impractical for command-line use without a separate "server" > process.

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread rob levy
That would be extremely portable too, and there is Inline::Java in CPAN. My sense is that no one should bother with that until after Clojure-in-Clojure. I have heard some talk of Clojure on Parrot VM too. On Fri, Mar 4, 2011 at 2:32 PM, Chas Emerick wrote: > > I've actually come to think that

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Ken Wesson
On Fri, Mar 4, 2011 at 2:32 PM, Chas Emerick wrote: > I've actually come to think that perl may be a great Clojure host language Talk about Beauty and the Beast ... ;) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Ken Wesson
On Fri, Mar 4, 2011 at 1:41 PM, Stuart Sierra wrote: > There are difficulties with using Clojure -- or any JVM language -- for > system administration.  The first and biggest is the JVM startup time, > making it impractical for command-line use without a separate "server" > process. Or you could

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Chas Emerick
FYI, "ClojureScript" is generally taken to be the name of a Javascript-hosted runtime for Clojure. Anyway… On Mar 4, 2011, at 4:29 AM, Shlomi Fish wrote: > a Clojure API and a convenient command line utility for > performing quick system admin tasks, text manipulation tasks, command line > sc

Re: Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Armando Blancas
Have you look at Scsh? http://www.scsh.net/about/what.html It's not the most trendy, but being a Scheme at least is nice. Anyone capable of doing the job properly either won't take any money or won't come cheap, so you might be better of offering a round of beer or request bids. On Mar 4, 1:29 

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Mark Rathwell
>> I've decided to offer a 200 USD bounty for implementing "ClojureScript I think you are missing a couple zeros in your offer price ;) Seriously though, these things tend to go better when you say something like "I've decided to work on this new project, who wants to help?", instead of offering

Re: [Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Stuart Sierra
There are difficulties with using Clojure -- or any JVM language -- for system administration. The first and biggest is the JVM startup time, making it impractical for command-line use without a separate "server" process. The second is that Java was explicitly designed to be OS-independent.

[Code Bounty] Implementing "ClojureScript" - command-line/sys-admin scripting with Clojure

2011-03-04 Thread Shlomi Fish
Hi all, I've decided to offer a 200 USD bounty for implementing "ClojureScript" (a tentative name), a Clojure API and a convenient command line utility for performing quick system admin tasks, text manipulation tasks, command line scripting, etc. similar to the use cases of bash/awk/sed or bash