
Hello folks, More that two years after the 0.1.0 release, I would like to attract people's attention to recent developments on the Yi editor. This preview release is an attempt to gather more users, testers and hopefully contributors for an upcoming "stable" release. Yi is a text editor written and extensible in Haskell. The goal of Yi is to provide a flexible, powerful and correct editor core dynamically scriptable in Haskell. * Yi is an haskell interpreter. Much like emacs is a Lisp interpreter, Yi is an haskell interpreter. This is implemented by binding to the GHC API. This permits hacking of the editor behaviour at runtime. Tools and goodies written in haskell are also readily available from the editor. * Frontends. Yi can use either gtk2hs or vty as frontends, so users can choose their favourite interface. * "Emulation modes". The primary emulation modes for Yi are vi and emacs. Keybindings for vim, mg and nano and other are also provided. Other editor interfaces can be written by the user to extend Yi. More information is available on: http://haskell.org/haskellwiki/Yi Darcs repo: http://www.cse.unsw.edu.au/~dons/yi/ Yi homepage: http://www.cse.unsw.edu.au/~dons/yi.html Patches, comments, criticism welcome... as always! -- Jean-Philippe Bernardy

Patches, comments, criticism welcome... as always!
-- Jean-Philippe Bernardy
I have a question, my compilation gets stuck on configure, it can't find package FilePath >=1.0 Which file path library is this? There are a few around, but I can't seem to find one with a version number greater than or equal to 1.0. regards allan

Hi Allan,
http://darcs.haskell.org/packages/filepath/
It's not been released yet, but it will be bundled with GHC 6.6.1.
Thanks
Neil
On 4/6/07, allan
Patches, comments, criticism welcome... as always!
-- Jean-Philippe Bernardy
I have a question, my compilation gets stuck on configure, it can't find package FilePath >=1.0 Which file path library is this? There are a few around, but I can't seem to find one with a version number greater than or equal to 1.0.
regards allan
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Hi,
where would you get sourceview=>0.9.11 for Win32?
Regards,
Michael
On 4/6/07, Neil Mitchell
Hi Allan,
http://darcs.haskell.org/packages/filepath/
It's not been released yet, but it will be bundled with GHC 6.6.1.
Thanks
Neil
On 4/6/07, allan
wrote: Patches, comments, criticism welcome... as always!
-- Jean-Philippe Bernardy
I have a question, my compilation gets stuck on configure, it can't find package FilePath >=1.0 Which file path library is this? There are a few around, but I can't seem to find one with a version number greater than or equal to 1.0.
regards allan
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Fri, 2007-04-06 at 18:03 +0200, Michael Walter wrote:
Hi,
where would you get sourceview=>0.9.11 for Win32?
You can build Gtk2Hs from source with the appropriate C libraries installed or you can wait for me to do the same. It's on my TODO list but probably will not get done for at least three weeks. If you want to do the build yourself (it's not for the faint hearted) there's more information on the Gtk2Hs site and in the source repo under tools/win32/ Duncan

Michael Walter
where would you get sourceview=>0.9.11 for Win32?
I guess http://haskell.org/gtk2hs/download/ I haven't tried myself, being a linux user. Maybe Duncan Coutts can tell you more, should it fail. Cheers, JP.

On 4/6/07, Jean-Philippe Bernardy
Hello folks,
More that two years after the 0.1.0 release, I would like to attract people's attention to recent developments on the Yi editor. This preview release is an attempt to gather more users, testers and hopefully contributors for an upcoming "stable" release.
Yi is a text editor written and extensible in Haskell. The goal of Yi is to provide a flexible, powerful and correct editor core dynamically scriptable in Haskell.
* Yi is an haskell interpreter. Much like emacs is a Lisp interpreter, Yi is an haskell interpreter. This is implemented by binding to the GHC API. This permits hacking of the editor behaviour at runtime. Tools and goodies written in haskell are also readily available from the editor.
* Frontends. Yi can use either gtk2hs or vty as frontends, so users can choose their favourite interface.
* "Emulation modes". The primary emulation modes for Yi are vi and emacs. Keybindings for vim, mg and nano and other are also provided. Other editor interfaces can be written by the user to extend Yi.
More information is available on: http://haskell.org/haskellwiki/Yi
Darcs repo: http://www.cse.unsw.edu.au/~dons/yi/
Yi homepage: http://www.cse.unsw.edu.au/~dons/yi.html
Patches, comments, criticism welcome... as always!
-- Jean-Philippe Bernardy
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
I'm trying to install yi but I get the following error: bas@bassbox ~/development/haskell/yi $ runhaskell Setup.hs configure --user --prefix=$HOME Configuring yi-0.2... configure: Dependency ghc>=6.6: using ghc-6.6 configure: Dependency base-any: using base-2.0 configure: Dependency mtl-any: using mtl-1.0 configure: Dependency regex-posix-any: using regex-posix-0.71 configure: Using install prefix: /home/bas configure: Binaries installed in: /home/bas/bin configure: Libraries installed in: /home/bas/lib/yi-0.2/ghc-6.6 configure: Private binaries installed in: /home/bas/libexec configure: Data files installed in: /home/bas/share/yi-0.2 configure: Using compiler: /usr/bin/ghc configure: Compiler flavor: GHC configure: Compiler version: 6.6 configure: Using package tool: /usr/bin/ghc-pkg configure: Using ar found on system at: /usr/bin/ar configure: Using haddock found on system at: /usr/bin/haddock configure: No pfesetup found configure: Using ranlib found on system at: /usr/bin/ranlib configure: Using runghc found on system at: /usr/bin/runghc configure: Using runhugs found on system at: /usr/bin/runhugs configure: Using happy: /usr/bin/happy configure: Using alex: /usr/bin/alex configure: Using hsc2hs: /usr/bin/hsc2hs configure: Using c2hs: /usr/bin/c2hs configure: Using cpphs: /usr/bin/cpphs configure: No greencard found bas@bassbox ~/development/haskell/yi $ runhaskell Setup.hs build *** Exception: failed to extract ghc path from command line I thought it had something to do with an older version of Cabal because the README lists Cabal 1.1.8 as a dependency. So I build a fresh Cabal from darcs and installed it in my user database: bas@bassbox ~/development/haskell/yi $ ghc-pkg -L /usr/lib/ghc-6.6/package.conf: (Cabal-1.1.6), Cabal-1.1.6.1, FilePath-0.11, GLUT-2.0, HUnit-1.1, HaXml-1.13.2, OpenGL-2.1, QuickCheck-1.0, X11-1.2, X11-extras-0.0, arrows-0.2, base-2.0, cpphs-1.2, fgl-5.3, (ghc-6.6), haskell-src-1.0, haskell98-1.0, hsql-1.7, hsql-mysql-1.7, html-1.0, mtl-1.0, network-2.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, time-1.0, unix-1.0, xhtml-2006.9.13 /home/bas/.ghc/i386-linux-6.6/package.conf: Cabal-1.1.7, DeepArrow-0.0, HAppS-0.8.8, HList-0.1, SDL-0.4.0, SDL-image-0.4.0, WashNGo-2.10, binary-0.2, haskelldb-0.10, haskelldb-hsql-0.10, haskelldb-hsql-mysql-0.10 but the error remains... What can be the problem? regards, Bas van Dijk

On Sun, Apr 08, 2007 at 12:13:48AM +0200, Bas van Dijk wrote:
bas@bassbox ~/development/haskell/yi $ runhaskell Setup.hs build *** Exception: failed to extract ghc path from command line
(Disclaimer: I'm only going by what I've heard on #haskell) That would be a symptom of trying to build Yi using cabal. Yi is supposed to be built using Makefiles. Scary, eh? The makefiles perform confiugration and then call the cabal, which isn't intended to be used directly. (jyp: maybe that message should be changed to mention the intended build procedure?) Stefan

Bas van Dijk
bas <at> bassbox ~/development/haskell/yi $ runhaskell Setup.hs build *** Exception: failed to extract ghc path from command line
...
What can be the problem?
regards,
Bas van Dijk
As Stephan mentioned, the easy solution is to use the Makefile.
If you prefer to use cabal, you need to pass --with-ghc=

Thanks, I've managed to make yi. However when I try to make an interface: $ make yi-vty make complains: ... setup: cannot satisfy dependency filepath>=1.0 ... Where can I find a filepath>=1.0? The one I have from Neil Mitchell is version 0.11. regards, Bas van Dijk

Where can I find a filepath>=1.0? The one I have from Neil Mitchell is version 0.11.
You want filepath from http://darcs.haskell.org/packages/filepath/ Cheers, JP.

On 4/8/07, Jean-Philippe Bernardy
You want filepath from http://darcs.haskell.org/packages/filepath/
Thanks, I got it working now. Bas van Dijk
participants (7)
-
allan
-
Bas van Dijk
-
Duncan Coutts
-
Jean-Philippe Bernardy
-
Michael Walter
-
Neil Mitchell
-
Stefan O'Rear