My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

What is eddie?

A command line tool for running haskell functions over text files.

You can see a collection of a variety of filter types in UnixCommands, or a collection of the ways to implement the various meanings of "reversing" a file.

Why is eddie?

This project actually started in response to a code bounty for a clojure shell scripting tool. That resulted in a specification for the requested program that had all the features of eddie, and then some. However, clojure code embedded on the command line looks clumsy, so the project was shelved.

In haskell, functional expression are much simpler and more elegant. In particular, in looking for haskell command line tools, I found http://www.haskell.org/haskellwiki/Simple_unix_tools, which convinced me that the original design would be not merely usable, but elegant if the expressions were done in haskell. Hence, eddie.

Why not ghc -e?

Eddie adds features to make using it for shell scripting easier:

  1. When given file arguments, eddie feeds them to your function.
  2. Eddie can easily add modules to the namespace you use.
  3. Eddie has options for processing things a line or file at a time.
  4. Eddie will use binary file IO methods when asked to.
Powered by Google Project Hosting