Commit Graph

352 Commits

Author SHA1 Message Date
aarne 56c2c0e067 print full types instead of lock field heuristics in overload resolution if the heuristic is misleading 2008-10-03 18:18:21 +00:00
aarne 4b707dbf01 return error on undefined opers in instance and resource 2008-10-03 16:16:45 +00:00
bjorn f362f6ad01 Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is used, no hand-hacking is needed. 2008-10-02 14:11:41 +00:00
bjorn cec77015ad Use parantheses for precedence in pgf-pretty lincats. 2008-09-30 12:02:58 +00:00
bjorn 14373feb3a Added --cfg option for specifying which CFG transformations to use. Added startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr". 2008-09-30 11:52:11 +00:00
bjorn 6791378846 pgf-pretty: remove single field record lincat hack. handle f "" (S []) correctly. 2008-09-30 09:31:31 +00:00
bjorn 662663ffa3 Some pgf-pretty fixes, including note by Peter about W "apa" (S []). 2008-09-30 07:24:01 +00:00
peb bfcfb513f3 Changes to the prolog output format 2008-09-25 07:32:39 +00:00
bjorn 2884598b7c Added pgf-pretty output-format 2008-09-26 15:21:32 +00:00
bjorn 8fe2a1cc59 Added semantic interpretation tag printing to the *bnf grammar printers. 2008-09-26 12:57:20 +00:00
bjorn b64d25b3be Use ebnf format for "regular" output-format. 2008-09-26 10:20:18 +00:00
bjorn a84849bee2 Changed nolr printer to use EBNF format. 2008-09-26 10:03:42 +00:00
bjorn 824d72bf16 Added --output-format=ebnf. 2008-09-26 09:20:39 +00:00
bjorn 367cc0acb9 Added --output-format=nolr. Minor makeRegular refactoring. 2008-09-25 13:41:07 +00:00
bjorn 8001ea8ea0 Added --output-format=regular. 2008-09-25 11:49:00 +00:00
bjorn 4d96eb7e9a Fixe copy-paste error: srgs_abnf_nonrec produced xml, fixed now. 2008-09-25 11:36:04 +00:00
bjorn 90b2441c34 Added an FCFG output format (--output-format=fcfg). This now lives in GF.Speech.PGFToCFG, but should probably move somewhere else. 2008-09-25 08:41:49 +00:00
bjorn 0d1b2c01b9 Got SRGS ABNF generation to compile. 2008-09-23 12:56:25 +00:00
bjorn 3857f4a6a6 A somewhat better solution to the words/UTF-8 problem: do encoding last, but only on what appears to be string literals. 2008-09-15 13:16:04 +00:00
krasimir 2d6e7ad625 print the search path when we can't find a module 2008-09-10 08:55:16 +00:00
aarne 279c0367d8 better error msg for missing record labels 2008-09-09 19:43:33 +00:00
aarne 3da1d10eb9 completed IdiomCat to compile api and math 2008-09-09 16:11:05 +00:00
aarne fa02871525 missing case in param lookup table in GrammartoGFCC 2008-09-09 15:33:56 +00:00
aarne 4f560ea668 debug information in GrammarToGFCC 2008-09-09 14:04:37 +00:00
aarne b3af35a88e show "error" in run interruptibly mode in GFI 2008-09-09 06:58:38 +00:00
bjorn dbe3571fcc Added --haskell-prefix option for changing the constructor prefix in generated Haskell modules. 2008-09-03 15:42:11 +00:00
peb 8952a626d0 new PGF output format: prolog syntax
* output a PGF grammar in prolog readable syntax
* variables in abstract syntax (hypotheses and lambda-abstractions) 
  are translated to unique logical variables
* PGF terms in concrete syntax are translated to more prolog-like terms
2008-09-03 09:04:09 +00:00
aarne 65e92e6dab infForm added to Catalan ; debugging alternative in PGF generation 2008-08-23 14:26:34 +00:00
bjorn acf1a17268 In GF.Compile.Export, output file name extensions should not have double dots. 2008-08-22 09:27:44 +00:00
bjorn 243bd895e4 Added srgs_xml_nonrec output format. 2008-08-22 08:43:58 +00:00
aarne b962c3a0d3 alternative prtType to help debugging overload resolution errors 2008-08-20 06:44:58 +00:00
bjorn 4925580877 When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +00:00
aarne 20fe8a8c20 improved error message in pgf compilation to help debugging 2008-08-16 12:27:59 +00:00
aarne 1302960992 forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance) 2008-08-14 20:25:52 +00:00
bjorn b296099441 Include concrete syntax flags in generated JS. 2008-08-13 12:08:11 +00:00
krasimir bff0a96b0b the shell now supports cp1251 coding with se command. works with the word completion as well 2008-06-27 10:33:46 +00:00
aarne 544fc47489 oops, forgot add Coding 2008-06-26 18:48:28 +00:00
aarne 7f9a0cdd34 uniform encoding: gfo and pgf in UTF8, internal in unicode 2008-06-26 16:35:45 +00:00
aarne 712717e461 utf8 adjustments 2008-06-26 06:52:01 +00:00
aarne c5c6d13546 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00
aarne 7d721eb16e removed src for 2.9 2008-06-25 16:43:48 +00:00
krasimir 50a1381a27 print the "linking..." message when building the GFCC code 2008-04-29 09:44:43 +00:00
krasimir 30f221cbb4 gfLibraryPath is actually an environment variable not a file path. Use the current directory instead. 2008-04-22 12:18:39 +00:00
krasimir 2a7c68ad65 move gfLibraryPath and gfGrammarPath to UseIO. Now they are accessible and there is only one place to change if you want to use different envVar 2008-04-22 12:12:29 +00:00
krasimir e16215940e use the standard System.FilePath module instead of our own broken file path manipulation functions 2008-04-22 11:39:46 +00:00
krasimir 082668f182 Use Happy grammar for imports extraction instead of hand made shallow crapy grammar 2008-04-22 08:33:23 +00:00
krasimir 1858db942c Some more ByteString related chandes in GF2 2008-04-17 13:22:10 +00:00
krasimir 07900af066 gf3 should not exit if there is a syntax error in the file 2008-04-17 12:50:51 +00:00
aarne 2a314b679d putting pattern macros in place (not properly tested yet) 2008-03-15 21:02:59 +00:00
aarne cccccd5ec1 switched to unmodified BNFC-generated components 2008-03-15 14:53:42 +00:00