From 1eb0fcba11147582b6a1fdbb2db0aae3479718b6 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 15 Apr 2011 12:07:59 +0000 Subject: added book in the documentation --- doc/gf-quickstart.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/gf-quickstart.html b/doc/gf-quickstart.html index 45b1bd198..acbfc8947 100644 --- a/doc/gf-quickstart.html +++ b/doc/gf-quickstart.html @@ -26,6 +26,15 @@ We assume that you have downloaded and installed GF, so that the command gf works for you. See download and install instructions here. +

Want to try without downloading?

+ +Using GF translation with an existing grammar. + +

+ +Writing GF grammars in the cloud, without installing GF. + +

Using GF for translation and generation

@@ -43,6 +52,7 @@ GF sources.
   $ gf FoodIta.gf FoodEng.gf
 
+Alternatively, start GF with gf and give the GF command import FoodIta.gf FoodEng.gf.
  • Translation. Try your first translation by giving the GF command
    @@ -81,8 +91,8 @@ Add words to the Food
     grammars and try the above commands again. For instance, add the following lines:
     
       Bread : Kind ;          -- in Food.gf
    -  Black = {s = "bread"} ; -- in FoodEng.gf
    -  Black = {s = "pane"} ;  -- in FoodIta.gf
    +  Bread = {s = "bread"} ; -- in FoodEng.gf
    +  Bread = {s = "pane"} ;  -- in FoodIta.gf
     
    and start GF again with the same command. Now you can even translate this bread is very Italian. @@ -118,7 +128,7 @@ You can use this in Haskell and Java programs, and also on web services, such as The quickest way to provide a GF web service is to start the program pgh-http
    -  $ pgh-http
    +  $ pgf-http
       Starting HTTP server, open http://localhost:41296/ in your web browser
     
       Options {documentRoot = "/home/aarne/.cabal/share/gf-server-1.0/www", port = 41296}
    -- 
    cgit v1.2.3