I'm pleased to announce the first release of ghci-haskeline. This package uses the GHC API to reimplement ghci with the Haskeline library as a backend. Haskeline is a library for line input in command-line programs, similar to readline or editline, which is written in Haskell and thus (hopefully) more easily integrated into other Haskell programs. To install, you can use cabal update && cabal install ghci-haskeline, or else download it from: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ghci-haskeline Haskeline is planned to be used officially with GHC in the 6.12 release: http://hackage.haskell.org/trac/ghc/ticket/2812 So the more testing that can be done ahead of time, the better! For more information about Haskeline or to file a bug or feature request, visit its trac: http://trac.haskell.org/haskeline Finally, a partial list of the benefits of ghci-haskeline over the readline/editline versions: - Full interactive interface on Windows. - Support for a wide variety of character encodings in line interaction (http://trac.haskell.org/haskeline/wiki/UnicodeSupport). Note that GHC source files are still required to be UTF-8. - Tab completion of Unicode identifiers and filenames. - Tab completion of quoted filenames within Haskell expressions. Best, -Judah
On Mon, Jan 12, 2009 at 12:57 PM, Judah Jacobson <judah.jacobson@gmail.com>wrote:
I'm pleased to announce the first release of ghci-haskeline. This package uses the GHC API to reimplement ghci with the Haskeline library as a backend. Haskeline is a library for line input in command-line programs, similar to readline or editline, which is written in Haskell and thus (hopefully) more easily integrated into other Haskell programs.
Awesome! And under my favorite license even!
On Mon, Jan 12, 2009 at 8:03 PM, David Leimbach <leimy2k@gmail.com> wrote:
On Mon, Jan 12, 2009 at 12:57 PM, Judah Jacobson <judah.jacobson@gmail.com
wrote:
I'm pleased to announce the first release of ghci-haskeline. This package uses the GHC API to reimplement ghci with the Haskeline library as a backend. Haskeline is a library for line input in command-line programs, similar to readline or editline, which is written in Haskell and thus (hopefully) more easily integrated into other Haskell programs.
Awesome! And under my favorite license even!
Actually, how difficult would it be to write something like rlwrap using haskeline? Then other programs could use this too? Dave
participants (2)
-
David Leimbach -
Judah Jacobson