A couple of other alternatives occurred to me:

   1. Java shipped with a scripting shell in 1.5.  The default language is
   JavaScript, and the tool is called jrunscript.  It can also be used with
   other scripting languages.  You can find a complete list of the supported
   languages at http://scripting.dev.java.net
   2. Groovy has it's own interactive shell, and you can use the @Grab
   annotation (aka Grape) to load any library.  I typically use this to load
   Maven-based libraries.  You can find out more information about these
   technologies here:
      - http://groovy.codehaus.org/Groovy+Shell
      - http://groovy.codehaus.org/Grape

Hope this helps,

Mark



On Sun, May 15, 2011 at 12:54 PM, Jon Svede <[email protected]> wrote:
> Sorry for the late reply, I read this last week and have been thinking
about it.
>
> I don't know if either of those would address my desire.  I hadn't heard
of
> Rhino, I'll have to look at it in detail.  At a quick glance it looks
pretty
> programmer oriented and I wanted to get a little further away from what
looks
> like actual code (though I think one could say that any CLI is pretty
programmer
> oriented).
>
> Not sure how I would use the Ruby extension, especially one that isn't in
the
> API already(is that in the works? I haven't seen any posts on that
recently).
>
> Thanks,
>
> Jon
>
>
>
> ________________________________
> From: Nick Burch <[email protected]>
> To: POI Users List <[email protected]>
> Sent: Fri, May 6, 2011 10:17:06 PM
> Subject: Re: interactive shell for Excel/POI
>
> On Fri, 6 May 2011, Jon Svede wrote:
>> Is there a tool that will allow you to interact with a spreadsheet from a
>>shell?
>
> Two options spring to mind. One is using javascript (via Rhino). The other
is
> the Ruby extension (not the current one, but the one that someone was
talking of
> contributing a few weeks back). Do either of those work for you?
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to