Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Data Munging with Sprog

by grantm (Parson)
on Jun 24, 2005 at 09:32 UTC ( [id://469650]=perlnews: print w/replies, xml ) Need Help??

My article 'Data Munging with Sprog' has just been published on perl.com.

I haven't announced the project on PM before, so a little background is in order. Basically it's a tool that people from the GUI world might use for some of the same types of things you'd write scripts for. (And Sprog itself it written in Perl).

With Sprog, a user can drag and drop components, or 'gears', to assemble a 'machine':

  • A data input gear can be used to read input from a file (or download a URL from the web, ...).
  • One or more filter gears can transform the data (eg: grep-style filtering, find/replace, ...)
  • An output gear can write the result to a file (or display it on screen, ...)

Once assembled and configured, a machine can be saved, run, reassembled, re-run etc. Just like a script.

The gears are kind of analogous to Unix command-line utilities, but they're configured via dialog boxes rather than command-line options. Each gear is implemented as a Perl class with much of the GUI side of things handled automatically.

The connections between gears are analogous to pipes, except that Sprog supports a number of different types of connectors. You can only plug two gears together if their connectors match.

The article describes a somewhat plausible scenario in which you might use Sprog. It has lots of pictures too.

If you want to take it for a spin, then head on over to the Sprog Project web site.

Replies are listed 'Best First'.
Re: Data Munging with Sprog
by neniro (Priest) on Jun 24, 2005 at 13:04 UTC

      I really must get around to creating an FAQ :-)

      No, Sprog is not 'inspired' by Automator. I don't have an Apple and I've never seen Automator beyond the screenshots on their web site. Sprog is the result of some ideas that I've been kicking around for the past six or seven years that I finally started writing code for last year.

      Automator does look cool though and there are some uncanny similarities in the user interfaces of the two apps. Of course automator is streets ahead in actual functionality - I'm really just getting started with Sprog.

      Update: there is an FAQ now.

Re: Data Munging with Sprog
by ghenry (Vicar) on Jun 24, 2005 at 09:40 UTC

    This looks really cool. I've joined the list and will start playing with it tonight.

    Thanks for posting.

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://469650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found