Yhc/Yhe
From HaskellWiki
(Difference between revisions)
| Line 1: | Line 1: | ||
{{Yhc}} | {{Yhc}} | ||
| - | Yhe is a command-line style tool in the vein of Ghci and Hugs. It consists of a command-line tool, yhe, and a GUI, Gyhe, written using | + | Yhe is a command-line style tool in the vein of Ghci and Hugs. It consists of a command-line tool, yhe, and a GUI, Gyhe, written using [http://www.haskell.org/gtk2hs/gtk2hs Gtk2hs]. It was mostly written by [[User:MikeDodds|Mike Dodds]]. |
Features of Gyhe: | Features of Gyhe: | ||
| Line 10: | Line 10: | ||
== Trying Gyhe == | == Trying Gyhe == | ||
| - | Gyhe is still very much alpha software - if you need a stable haskell command-line gui, I'd suggest you use WinHugs. That said, if you want to try Gyhe: | + | Gyhe is still very much alpha software - if you need a stable haskell command-line gui, I'd suggest you use [[WinHugs]]. That said, if you want to try Gyhe: |
* Download the yhc-devel branch from darcs | * Download the yhc-devel branch from darcs | ||
| - | * Ensure that you have the development version of gtk2hs installed. | + | * Ensure that you have the development version of [http://www.haskell.org/gtk2hs/gtk2hs Gtk2hs] installed. |
* Change directory to yhc-devel/src/interactive/ | * Change directory to yhc-devel/src/interactive/ | ||
* Run 'make gui' | * Run 'make gui' | ||
| - | ...and the gyhe executable should be created in yhc-devel/inst/bin | + | ...and the gyhe executable should be created in yhc-devel/inst/bin/. Any comments or patches you have would be welcome. |
| + | |||
| + | == Screenshots == | ||
| + | |||
| + | http://www-users.cs.york.ac.uk/~miked/images/gyhe_screengrab3.png | ||
== Todo List == | == Todo List == | ||
| - | + | Sensible short-term aims: | |
* Add lazy evaluation - currently we only get a result after the program terminates | * Add lazy evaluation - currently we only get a result after the program terminates | ||
| - | + | * Add file URI support to link to a file and load a text editor. ''Currently waiting for parsable error messages from the Yhc developers.'' | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | * Add file URI support to link to a file and load a text editor. ''Currently waiting for | + | |
| - | + | ||
* Fix the makefile to detect the sourceview widget - at the moment it is always off at compile-time | * Fix the makefile to detect the sourceview widget - at the moment it is always off at compile-time | ||
| - | + | Less sensible longer-term aims: | |
| - | + | ||
* Add clickable links into [[Hoogle]] | * Add clickable links into [[Hoogle]] | ||
| - | * Handle drag-and-drop events from other processes | + | * Handle drag-and-drop events from other processes |
| - | * Windows version, like WinHugs, using native widgets. | + | * Add support for other compilers. |
| - | + | * Windows version, like [[WinHugs]], using native widgets. | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
Revision as of 21:33, 13 February 2006
| Part of Yhc |
Yhe is a command-line style tool in the vein of Ghci and Hugs. It consists of a command-line tool, yhe, and a GUI, Gyhe, written using Gtk2hs. It was mostly written by Mike Dodds.
Features of Gyhe:
- Single and multi-line input
- Cross-platform gui (works on Linux, Windows and MacOS)
- Syntax-highlighting of input with gtksourceview widget
1 Trying Gyhe
Gyhe is still very much alpha software - if you need a stable haskell command-line gui, I'd suggest you use WinHugs. That said, if you want to try Gyhe:
- Download the yhc-devel branch from darcs
- Ensure that you have the development version of Gtk2hs installed.
- Change directory to yhc-devel/src/interactive/
- Run 'make gui'
...and the gyhe executable should be created in yhc-devel/inst/bin/. Any comments or patches you have would be welcome.
2 Screenshots
3 Todo List
Sensible short-term aims:
- Add lazy evaluation - currently we only get a result after the program terminates
- Add file URI support to link to a file and load a text editor. Currently waiting for parsable error messages from the Yhc developers.
- Fix the makefile to detect the sourceview widget - at the moment it is always off at compile-time
Less sensible longer-term aims:
