1
0
forked from GitHub/gf-core
Commit Graph

20 Commits

Author SHA1 Message Date
krasimir
2c86af2865 typo in PGF.Expr 2009-09-18 12:05:32 +00:00
krasimir
49ca46d958 bugfix in the ai command 2009-09-17 13:14:04 +00:00
krasimir
509d0cf8d8 added wrapper functions for expression manipulations in PGF. The Haskell API now uses the wrappers 2009-09-11 14:42:45 +00:00
krasimir
1cdf171251 polish the PGF API and make Expr and Type abstract types. Tree is a type synonym of Expr 2009-09-11 13:45:34 +00:00
krasimir
28a7c4b5c7 now the datatype Tree is only internal. All API functions are working with Expr directly. Commands gt, gr, p and rf filter out the output via the typechecker 2009-09-08 08:40:28 +00:00
krasimir
b97d6abb81 hopefully complete and correct typechecker in PGF 2009-09-06 20:31:52 +00:00
krasimir
bb3040e2c4 bugfix in PGF.Expr.apply 2009-07-05 16:07:34 +00:00
krasimir
3394c171ed PGF.Expr.eval now returns suspension when a meta variable is encountered 2009-07-05 15:34:16 +00:00
krasimir
b8776e6e28 fix the current PGF typechecker 2009-06-19 12:03:18 +00:00
krasimir
6220ebd383 bugfix: restore the check for bound variables in expr2tree 2009-06-19 06:37:24 +00:00
krasimir
e5c8636a5f now in the command shell the primary type in the pipe is Expr not Tree. This makes the pt -compute and pt -typecheck more interesting 2009-05-23 21:33:52 +00:00
krasimir
41b263cf6a some work on evaluation with abstract expressions in PGF 2009-05-22 18:54:51 +00:00
krasimir
7db4b641ce refactor the PGF.Expr type and the evaluation of abstract expressions 2009-05-20 21:03:56 +00:00
aarne
241e13247d metavariables made unique in type checking 2009-01-30 16:52:38 +00:00
krasimir
f8331e5b4b define Read and Show instances for Expr and Tree 2008-10-28 12:22:34 +00:00
bjorn
d41616dd6a Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage. 2008-10-20 11:59:31 +00:00
bjorn
2174690c5e Added Read and Show instances for Type. This required moving some code around. 2008-10-20 11:36:17 +00:00
krasimir
abe8da32fd add parser and pretty printer for types 2008-10-20 07:52:14 +00:00
aarne
e4dc63f665 rudimentary abstract syntax type checker and solver in PGF 2008-10-14 14:34:08 +00:00
aarne
e9e80fc389 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00