mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Commment code and options relating to the old partial evaluator
This means that the -old-comp and -new-comp flags are not recognized anymore. The only functional difference is that printnames were still normalized with the old partial evaluator. Now that is done with the new partial evaluator.
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
-- Predefined function type signatures and definitions.
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module GF.Compile.Compute.AppPredefined (
|
||||
isInPredefined, typPredefined, arrityPredefined, predefModInfo, appPredefined
|
||||
module GF.Compile.Compute.AppPredefined ({-
|
||||
isInPredefined, typPredefined, arrityPredefined, predefModInfo, appPredefined-}
|
||||
) where
|
||||
|
||||
{-
|
||||
import GF.Compile.TypeCheck.Primitives
|
||||
import GF.Infra.Option
|
||||
import GF.Data.Operations
|
||||
@@ -140,3 +140,4 @@ mapStr ty f t = case (ty,t) of
|
||||
mapField (mty,te) = case mty of
|
||||
Just ty -> (mty,mapStr ty f te)
|
||||
_ -> (mty,te)
|
||||
-}
|
||||
@@ -1,3 +1,3 @@
|
||||
module GF.Compile.Compute.Concrete(module M) where
|
||||
import GF.Compile.Compute.ConcreteLazy as M -- New
|
||||
module GF.Compile.Compute.Concrete{-(module M)-} where
|
||||
--import GF.Compile.Compute.ConcreteLazy as M -- New
|
||||
--import GF.Compile.Compute.ConcreteStrict as M -- Old, inefficient
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
-- Computation of source terms. Used in compilation and in @cc@ command.
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module GF.Compile.Compute.ConcreteLazy (computeConcrete, computeTerm,checkPredefError) where
|
||||
|
||||
import GF.Data.Operations
|
||||
module GF.Compile.Compute.ConcreteLazy ({-computeConcrete, computeTerm,checkPredefError-}) where
|
||||
{-
|
||||
import GF.Grammar.Grammar
|
||||
import GF.Data.Operations
|
||||
import GF.Infra.Ident
|
||||
--import GF.Infra.Option
|
||||
import GF.Data.Str
|
||||
@@ -528,3 +528,4 @@ checkPredefError sgr t = case t of
|
||||
|
||||
predef_error s = App (Q (cPredef,cError)) (K s)
|
||||
-}
|
||||
-}
|
||||
|
||||
Reference in New Issue
Block a user