Personal tools


From HaskellWiki

< Yhc
Revision as of 16:15, 24 September 2006 by NeilMitchell (Talk | contribs)

Jump to: navigation, search

Currently snapshots are only available for Windows users, this describes how to install and test Yhc on Windows.

1 Installing

  1. Create a folder called Yhc.
  2. Download the snapshot in that folder.
  3. Extract, using WinZip or similar.
  4. Go to My Computer, right click Properties, Advanced, Environment Variables:
  5. Add the folder you extracted as YHC_BASE_PATH, so %YHC_BASE_PATH%\bin\yhc.exe is the yhc.exe program.
  6. Add the folder to yhc.exe to your PATH variable.

2 Testing

Now, to test, open a command window anywhere and type in:

echo main = print 42 > Main.hs
yhc Main
yhi Main

You should see the number 42 appear.