Commit Graph

22 Commits

Author SHA1 Message Date
bjorn
50b2b453f3 Changed PGF.complete to include the given input if it can be parsed as a complete tree. 2008-10-28 12:28:46 +00:00
bjorn
d327d9da6c Added --parser=ondemand flag. 2008-10-20 14:52:50 +00:00
bjorn
05343e78a9 Added on-demand parser generation back in. It's pretty unproblematic, and can help with memory use in some cases. 2008-10-20 14:05:39 +00:00
krasimir
399d1bb09a fixed typo in the Haddock documentation 2008-10-20 12:24:07 +00:00
bjorn
88eed35c18 Reorganize PGF export list to get easier to read haddock. 2008-10-20 12:10:42 +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
bjorn
a26290659d Replace Category with Type in the PGF API. Added readLanguage and showLanguage. 2008-10-20 11:35:05 +00:00
krasimir
eb0fefec28 preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well. 2008-10-20 08:42:39 +00:00
krasimir
96bea5a0bb export wildCId from PGF.hs 2008-10-20 07:56:32 +00:00
krasimir
abe8da32fd add parser and pretty printer for types 2008-10-20 07:52:14 +00:00
bjorn
d10c8bd20a Removed on-demand parser generation from the PGF interpreter. 2008-10-16 10:18:54 +00:00
bjorn
dc3f283344 Moved parser building in the PGF interpreter to PGF.hs from PGF/Raw/Convert.hs, in preparation for doing something more clever about it (e.g. looking at the parser flag). 2008-10-16 10:13:25 +00:00
aarne
e4dc63f665 rudimentary abstract syntax type checker and solver in PGF 2008-10-14 14:34:08 +00:00
krasimir
4573d10442 the new optimized incremental parser and the common subexpression elimination optimization in PMCFG 2008-10-14 08:00:50 +00:00
aarne
54f8fd9ec1 added a paraphrase method applying def's in both directions, in subtrees, and step by step; doesn't work properly yet 2008-10-13 16:41:21 +00:00
aarne
4e795bab9b a first version of PGF.AbsCompute 2008-10-10 15:53:17 +00:00
bjorn
804232aebc Added 'complete' function to the PGF API. This is a higher-level API to the completion functionality. 2008-09-26 13:17:21 +00:00
bjorn
7007a875e3 Added canParse function to the PGF API. Make parseAllLang and parseAll skip languages which don't have parsers, instead of always throwing exceptions when some language is missing a parser. 2008-08-18 09:26:24 +00:00
bjorn
3a21fcd4ba Added languageCode function to the PGF API. 2008-08-18 09:25:43 +00:00
aarne
ba63991007 fixed decodeUTF8 for pgf; removed old resources from darcs 2008-06-26 19:41:25 +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