mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 15:22: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:
@@ -150,9 +150,9 @@ convert opts gr cenv loc term ty@(_,val) pargs =
|
||||
where
|
||||
conv t = convertTerm opts CNil val =<< unfactor t
|
||||
|
||||
term' = if flag optNewComp opts
|
||||
then normalForm cenv loc (expand ty term) -- new evaluator
|
||||
else term -- old evaluator is invoked from GF.Compile.Optimize
|
||||
term' = {-if flag optNewComp opts
|
||||
then-} normalForm cenv loc (expand ty term) -- new evaluator
|
||||
--else term -- old evaluator is invoked from GF.Compile.Optimize
|
||||
|
||||
expand ty@(context,val) = recordExpand val . etaExpand ty
|
||||
|
||||
|
||||
Reference in New Issue
Block a user