summaryrefslogtreecommitdiff
path: root/src/INSTALL
diff options
context:
space:
mode:
authoraarne <unknown>2005-10-30 22:44:00 +0000
committeraarne <unknown>2005-10-30 22:44:00 +0000
commitf9293c6b29696db51b6bab7b5171b74bd6da084b (patch)
tree6319da9c57ebf79ade657289b6bcb47d1a8a0fa1 /src/INSTALL
parent815dda6b4bfd573f9091d7a667a67076602fb205 (diff)
probabilistic
Diffstat (limited to 'src/INSTALL')
-rw-r--r--src/INSTALL28
1 files changed, 12 insertions, 16 deletions
diff --git a/src/INSTALL b/src/INSTALL
index 436aacb65..da4757135 100644
--- a/src/INSTALL
+++ b/src/INSTALL
@@ -35,32 +35,28 @@ To make and install GF2 (Version 2.1, 8/11/2004).
You may need to run "make clean" after ./configure when you change the
readline setting.
-
5. Compile with make:
make
The binary is sent to the file GF/bin/gf
-6. For a quick test: load a grammar package from
-
- http://www.cs.chalmers.se/~aarne/GF/download/gf-lib.tgz
-
- Open the package under GF-2.0
+6. Move files to their right places:
- tar xvfz gf-lib.tgz
+ make install
- Then start gf, load a grammar and parse a string:
+7. For a quick test:
+ Start gf, load a grammar and parse a string:
- cd ../lib/basic
- ../../bin/gf English.gf
+ cd GF/grammars/basic
+ gf English.gf
-- when gf has started and shows the prompt >:
> p "every number is even or odd"
- -- this is the response from GF2:
+ -- this is the response from GF:
PredA1 (Every Number) (DisjA1 Even Odd)
-7. If you want to run the Java GUI, go back to GF2/src and also do
+8. If you want to run the Java GUI, go back to GF2/src and also do
make install-java
@@ -68,11 +64,11 @@ To make and install GF2 (Version 2.1, 8/11/2004).
the value of GFHOME to the location of your GF2/bin directory. Test the
GUI with some grammars:
- cd ../lib/letter
- ../../bin/gf <mkLetter.gfs
- ../../bin/jgf Letter.gfcm
+ cd ../examples/letter
+ gf <mkLetter.gfs
+ jgf Letter.gfcm
When the window opens, push the Random button.
-Author: Aarne Ranta, 8/11/2004
+Author: Aarne Ranta, Björn Bringert 8/11/2004 -- 18/10/2005