diff options
| author | peb <unknown> | 2005-08-08 08:01:10 +0000 |
|---|---|---|
| committer | peb <unknown> | 2005-08-08 08:01:10 +0000 |
| commit | 1351c101337e46a89c066f0830ed6f06fc96cf7a (patch) | |
| tree | c2a07b6182345a72cf8cea2125972630044fdf46 /src/GF/Parsing/MCFG/Active.hs | |
| parent | b03a738c4433f40c1eca2691fe09ea31d71475fe (diff) | |
"Committed_by_peb"
Diffstat (limited to 'src/GF/Parsing/MCFG/Active.hs')
| -rw-r--r-- | src/GF/Parsing/MCFG/Active.hs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/GF/Parsing/MCFG/Active.hs b/src/GF/Parsing/MCFG/Active.hs index cb1440e24..a422f7e10 100644 --- a/src/GF/Parsing/MCFG/Active.hs +++ b/src/GF/Parsing/MCFG/Active.hs @@ -1,3 +1,15 @@ +---------------------------------------------------------------------- +-- | +-- Maintainer : PL +-- Stability : (stable) +-- Portability : (portable) +-- +-- > CVS $Date: 2005/08/08 09:01:25 $ +-- > CVS $Author: peb $ +-- > CVS $Revision: 1.5 $ +-- +-- MCFG parsing, the active algorithm +----------------------------------------------------------------------------- module GF.Parsing.MCFG.Active (parse, parseR) where @@ -20,7 +32,7 @@ import GF.Infra.Print ---------------------------------------------------------------------- -- * parsing ---parse :: (Ord n, Ord c, Ord l, Ord t) => String -> MCFParser c n l t +parse :: (Ord n, Ord c, Ord l, Ord t) => String -> MCFParser c n l t parse strategy pinfo starts toks = trace2 "MCFG.Active - strategy" (if isBU strategy then "BU" else if isTD strategy then "TD" else "None") $ @@ -28,7 +40,7 @@ parse strategy pinfo starts toks = Final (Abs cat rhs fun) found rrecs <- chartLookup chart Fin ] where chart = process strategy pinfo starts toks ---parse :: (Ord n, Ord c, Ord l, Ord t) => String -> MCFParser c n l t +-- parseR :: (Ord n, Ord c, Ord l, Ord t) => String -> MCFParser c n l t parseR strategy pinfo starts = trace2 "MCFG.Active Range - strategy" (if isBU strategy then "BU" else if isTD strategy then "TD" else "None") $ |
