summaryrefslogtreecommitdiff
path: root/src-3.0/PGF.hs
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2008-06-02 07:45:45 +0000
committerkrasimir <krasimir@chalmers.se>2008-06-02 07:45:45 +0000
commit7ee26238f59c76e8365f2db6217a3e25bd19ae00 (patch)
treeb35902f6708ccc20ad2ed35300e686e772da2721 /src-3.0/PGF.hs
parentcd6fa423a92fcab89d5bb5d7a1c651fd2d8845d8 (diff)
Some more documentation
Diffstat (limited to 'src-3.0/PGF.hs')
-rw-r--r--src-3.0/PGF.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src-3.0/PGF.hs b/src-3.0/PGF.hs
index fafbfafcf..899d26d12 100644
--- a/src-3.0/PGF.hs
+++ b/src-3.0/PGF.hs
@@ -5,7 +5,11 @@
-- Stability : stable
-- Portability : portable
--
--- Application Programming Interface to PGF.
+-- This module is an Application Programming Interface to
+-- to load and interpret grammars compiled Portable Grammar Format (PGF).
+-- The PGF format is produced as a final output from the GF compiler.
+-- The API is meant to be used when embedding GF grammars in Haskell
+-- programs.
-------------------------------------------------
module PGF(
@@ -24,7 +28,7 @@ module PGF(
Category, categories, startCat,
-- * Expressions
- Exp(..),
+ Exp(..), Equation(..),
showExp, readExp,
-- * Operations
@@ -61,10 +65,6 @@ import qualified Text.PrettyPrint as PP
import qualified Text.ParserCombinators.ReadP as RP
--- This API is meant to be used when embedding GF grammars in Haskell
--- programs. The embedded system is supposed to use the
--- .pgf grammar format, which is first produced by the gf program.
-
---------------------------------------------------
-- Interface
---------------------------------------------------