This website requires JavaScript.
Explore
Help
Sign In
GitHub
/
gf-core
Watch
1
Star
0
Fork
1
You've already forked gf-core
mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced
2026-04-10 21:39:32 -06:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
e19a28f46cd711887cfa25d00717bae263c5d062
gf-core
/
src
/
compiler
History
aarne
e19a28f46c
experimental type checker module GF.Compile.TypeCheck.RConcrete.hs with record updates enabled by ** expressions. Can be changed back to Concrete.hs by just changing one import command in GF.Compile.CheckGrammar.hs. The worst thing that *should* happen with the new type checker is that some old code is detected to be invalid, which happens if it contains a type-incompatible record extension, e.g. {x = "foo"} ** {x = 1}. Previously such errors were silently ignored. A set of test runs detected one such error in the RGL, which was corrected. On the positive side, the new type checker now enables record updates in the natural way: R ** {x = 1} will give value x = 1 overshadowing any value of x in R (provided the expected type of x is Int). lib/src/experimental/PredicationSwe.gf illustrates this, as opposed to PredicationSwO.gf which has to use old-style copying of even the unchanged record fields.
2014-01-31 20:28:25 +00:00
..
GF
experimental type checker module GF.Compile.TypeCheck.RConcrete.hs with record updates enabled by ** expressions. Can be changed back to Concrete.hs by just changing one import command in GF.Compile.CheckGrammar.hs. The worst thing that *should* happen with the new type checker is that some old code is detected to be invalid, which happens if it contains a type-incompatible record extension, e.g. {x = "foo"} ** {x = 1}. Previously such errors were silently ignored. A set of test runs detected one such error in the RGL, which was corrected. On the positive side, the new type checker now enables record updates in the natural way: R ** {x = 1} will give value x = 1 overshadowing any value of x in R (provided the expected type of x is Int). lib/src/experimental/PredicationSwe.gf illustrates this, as opposed to PredicationSwO.gf which has to use old-style copying of even the unchanged record fields.
2014-01-31 20:28:25 +00:00
SimpleEditor
SimpleEditor.Convert: adapt to recent character encoding changes
2013-11-28 13:27:45 +00:00
GF.hs
Reduced clutter in monadic code
2013-11-20 00:45:33 +00:00
GFC.hs
Check file datestamp before creating PGF file when compiling grammars
2014-01-09 17:30:24 +00:00
GFI.hs
Commment code and options relating to the old partial evaluator
2013-11-29 16:26:49 +00:00
GFServer.hs
gf -server: fix a redirection bug...
2014-01-27 16:30:03 +00:00