Yhc/Yhe

From HaskellWiki
< Yhc
Revision as of 00:20, 16 January 2006 by NeilMitchell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Part of Yhc

(Download)

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

Todo

General:

  • Add lazy evaluation - currently we only get a result after the program terminates
  • Generally the evaluation code needs a lot of work

GUI:

  • Put the evaluation code into a thread so that the gui doesn't block while evaluating. I've tried this, and the performance advantage is extremely marginal - may be worth while if we implement user interaction with a running process.
  • Add file URI support to link to a file and load a text editor. Currently waiting for a response from the gtk2hs people re: clickable regions in TextView widgets.
  • Rebuild the icon - the lambda should be centered.
  • Fix the makefile to detect the sourceview widget - at the moment it is always off at compile-time

Speculative / Moon on a stick:

  • Save the pane-divider position between sessions - I don't know if we really want this?
  • Add clickable links into Hoogle
  • Handle drag-and-drop events from other processes - probably OS dependant
  • Windows version, like WinHugs, using native widgets.

Bugs

  • Closing while maximised and then restarting results in a fullscreen non-maximised window

Screenshots

gyhe_sceengrab2.jpg

gyhe_sceengrab1.jpg