Bonus: install the Festival Speech Synthesis System to get the Speak Aloud command (sa).
Download: executable, sources, Java GUI (requires Java 2 version 1.4).
Install
The binary: gunzip gf.gz
The Java GUI: change the variable GFHOME in the
script, and check the locations of
java/, gf, and GFEditor.class.
Run
The binary: gf
The Java GUI: jgf Grammar1 Grammar2 ...
Compile
With GHC 5.02-2, Fudgets: make ghc-fud
With GHC 5.02-2, without Fudgets: make ghc
With Hugs 98 (interpreted): make runhugs
Requirements: Mac OS X. The Java GUI requires the Java 1.4.1 update from Apple. To run the GF binary you will need to install the GHC Haskell Support framework (distributed under LGPL) in /Library/Frameworks or ~/Library/Frameworks. You might also need to download and install the readline library (e.g. from the Fink project).
The Hugs version might run in Hugs for Mac OS 9, but this has not been tested.
Download: executable (just a binary executable file), sources, Java GUI (requires Java 2 version 1.4).
There is no GF 1.1 binary for OS X with Fudgets support, there is only a GF 1.0 executable with Fudgets. This also requires a working installation of X Windows.
InstallThe binary: Unpack the binary gf, and put it somewhere reasonable (for instance in /usr/local/bin). Also unpack the Haskell Support framework and put it in /Library/Frameworks or ~/Library/Frameworks.
The Java GUI: The Java GUI: change the variable GFHOME in the script jgf. Check the locations of java/, gf, and GFEditor.class.
Run
The binary: gf
The Java GUI: jgf Grammar1 Grammar2 ...
With GHC 5.04, without Fudgets: make ghc
With GHC, Fudgets: This requires working installation of
Fudgets, and has not been automated for Mac OS X.
With Hugs 98 (interpreted): make runhugs. This does not work with the standard Hugs binary for Mac OS X, it seems you need to recompile Hugs with some changes to avoid a "Program code storage space exhausted"-error.
Download: binary distribution (self-extracting installation package), GF sources, Java GUI sources.
Install
Run: gf.exe
Warning: The GF installation directory name should NOT contain spaces. This will cause errors in GF core functions like lexer etc.
Run
In the Start menu choose Programs, then GF program group:
To read running instructions choose: ReadmeFirst
To start the command line version choose: gf
To start Java GUI choose: javaGUI
Compile
With
GHC 5.02-2 and
cygwin shell,
command line version: make windows
With J2SETM v 1.4
java GUI: javac *.java
Download: executable, sources, Java GUI (requires Java 2 version 1.4).
Install
The binary: gunzip gf.gz
The Java GUI: change the variable GFHOME in the
script, and check the locations of
java/, gf, and GFEditor.class.
Run
The binary: gf
The Java GUI: jgf Grammar1 Grammar2 ...
Compile
With GHC 5.02-2, Fudgets: make ghc-fud
With GHC 5.02-2, without Fudgets: make ghc
With Hugs 98 (interpreted): make runhugs