summaryrefslogtreecommitdiff
path: root/src/INSTALL
diff options
context:
space:
mode:
authoraarne <unknown>2004-11-08 13:57:50 +0000
committeraarne <unknown>2004-11-08 13:57:50 +0000
commitc845ef57bba358c6cdf4457fabaeed03e1bb90e7 (patch)
tree17515f848a165ef5b46ba8519570a0fd67067609 /src/INSTALL
parent1a8c6fbbb88a56f48b3e8b37120c3ebe9ea8b791 (diff)
INSTALL
Diffstat (limited to 'src/INSTALL')
-rw-r--r--src/INSTALL26
1 files changed, 17 insertions, 9 deletions
diff --git a/src/INSTALL b/src/INSTALL
index 1104771fd..42d1eac22 100644
--- a/src/INSTALL
+++ b/src/INSTALL
@@ -1,10 +1,10 @@
-To make and install GF2 (Version 2-beta, 2/4/2004).
+To make and install GF2 (Version 2.1, 8/11/2004).
1. Unpack GF2 and go to the source directory (the place where this
INSTALL file is - so you have probably done this already!)
- tar xvfz gf2-beta.tgz
- cd GF2/src
+ tar xvfz GF-2.1.tgz
+ cd GF-2.1/src
2. Make sure you have GHC (Glasgow Haskell Compiler), version 5.02 or later.
In Windows, you also need Cygwin.
@@ -33,14 +33,22 @@ To make and install GF2 (Version 2-beta, 2/4/2004).
make unix -- for Linux, Solaris, Mac OSX
make windows -- for MS Windows
- The binary is sent to the file GF2/bin/gf
+ The binary is sent to the file GF-2.1/bin/gf
-6. For a quick test: start GF2, load a grammar and parse a string:
+6. For a quick test: load a grammar package from
- cd ../grammars/basic
+ http://www.cs.chalmers.se/~aarne/GF/download/gf-lib.tgz
+
+ Open the package under GF-2.0
+
+ tar xvfz gf-lib.tgz
+
+ Then start gf, load a grammar and parse a string:
+
+ cd ../lib/basic
../../bin/gf English.gf
- -- when GF2 has started and shows the prompt >:
+ -- when gf has started and shows the prompt >:
> p "every number is even or odd"
-- this is the response from GF2:
PredA1 (Every Number) (DisjA1 Even Odd)
@@ -53,11 +61,11 @@ To make and install GF2 (Version 2-beta, 2/4/2004).
the value of GFHOME to the location of your GF2/bin directory. Test the
GUI with some grammars:
- cd ../grammars/letter
+ cd ../lib/letter
../../bin/gf <mkLetter.gfs
../../bin/jgf Letter.gfcm
When the window opens, push the Random button.
-Author: Aarne Ranta, 2/4/2004
+Author: Aarne Ranta, 8/11/2004