summaryrefslogtreecommitdiff
path: root/src/GF
AgeCommit message (Collapse)Author
2008-09-26SRG category renaming: don't count the external cats when calculating indices.bjorn
2008-09-26Changed SRG category renaming to use GF cat + index among CFG cats for that ↵bjorn
GF cat, instead of the old Concrete syntax name + index among all CFG cats.
2008-09-26Oops, I accidentally disabled all CFG simplification and LR-removal with the ↵bjorn
ENBF printing patch.
2008-09-26Change category naming in CFG generation: the number now starts from 1 for ↵bjorn
each GF category, instead of being the FCFG category number.
2008-09-26Added --output-format=ebnf.bjorn
2008-09-26In CFG generation: don't add linrow number if the lincat has only a single ↵bjorn
constituent.
2008-09-25Added --output-format=nolr. Minor makeRegular refactoring.bjorn
2008-09-25Added --output-format=regular.bjorn
2008-09-25Fixe copy-paste error: srgs_abnf_nonrec produced xml, fixed now.bjorn
2008-09-25Somewhat nicer FCFG output format.bjorn
2008-09-25Added an FCFG output format (--output-format=fcfg). This now lives in ↵bjorn
GF.Speech.PGFToCFG, but should probably move somewhere else.
2008-09-23Got SRGS ABNF generation to compile.bjorn
2008-09-23Added srgs_abnf_nonrec grammar printer to GF.Infra.Options.bjorn
2008-09-23Re-added old PrSRGS_ABNF (does not compile yet).bjorn
2008-09-23use hex in transliteration tableaarne
2008-09-23Telugu transliterationaarne
2008-09-15A somewhat better solution to the words/UTF-8 problem: do encoding last, but ↵bjorn
only on what appears to be string literals.
2008-09-15Temporary fix for the grave accent a encoding problem: change compatPrint to id.bjorn
The problem is that lower case a with a grave accent is coded in UTF-8 as \195\160. Unicode character \160 is non-breaking space, so Haskell's words function will break a UTF-8 encoded string at this character. String literals in the .gfo file are UTF-8 encoded in generateModuleCode, just before the call to prGrammar (which uses compactPrint, which used words). The real solution would be to pretty-print the grammar to Unicode, and then encode as UTF-8. The problem with that is Latin-1 identifers. They are now kept in Latin-1 in the .gfo file, since Alex can't handle Unicode. The real solution to that would be to fix Alex to handle Unicode, but that is non-trivial. GHC interally uses a very hacky .x file to be able to lex UTF-8 source files. An alternative solution that doesn't address the weirdness of using two different encodings in the same .gfo as we do now, is to incorporate compactPrint into the grammar printer, to avoid having to do any postprocessing.
2008-09-10print the search path when we can't find a modulekrasimir
2008-09-09better error msg for missing record labelsaarne
2008-09-09completed IdiomCat to compile api and mathaarne
2008-09-09missing case in param lookup table in GrammartoGFCCaarne
2008-09-09debug information in GrammarToGFCCaarne
2008-09-09show "error" in run interruptibly mode in GFIaarne
2008-09-09enable matching of ++ strings with regular patternsaarne
2008-09-05capitals in lextext and unlextext; notice that a sentence starting with a ↵aarne
proper name now gets lexed with a small letter if lextext is used
2008-09-04convert all values in shell pipes to stringsaarne
2008-09-03Added --haskell-prefix option for changing the constructor prefix in ↵bjorn
generated Haskell modules.
2008-09-03new PGF output format: prolog syntaxpeb
* 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-03treatment of Int: not always PredefAbs but can be PredefCncaarne
2008-08-24Completed SISR 1.0 support (untested).bjorn
2008-08-24Export modifyFlags and modifyModuleFlags from GF.Infra.Options.bjorn
2008-08-23infForm added to Catalan ; debugging alternative in PGF generationaarne
2008-08-22UTF8 encode all generated XML.bjorn
2008-08-22In GF.Compile.Export, output file name extensions should not have double dots.bjorn
2008-08-22Added srgs_xml_nonrec output format.bjorn
2008-08-20alternative prtType to help debugging overload resolution errorsaarne
2008-08-18When producing PGF, do UTF-8 encoding of the whole file after pretty ↵bjorn
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-16bronzeage grammar restored except for three ones with issues ; arabic ↵aarne
transliteration added
2008-08-16improved error message in pgf compilation to help debuggingaarne
2008-08-14forgiving names in concrete that are not in abstract, with a warning (no ↵aarne
warning guaranteed if this is because restricted inheritance)
2008-08-13Include concrete syntax flags in generated JS.bjorn
2008-06-27Set charset to utf-8 when printing html code. This is needed to get Safari ↵bjorn
to display resdemo.html correctly.
2008-06-27the shell now supports cp1251 coding with se command. works with the word ↵krasimir
completion as well
2008-06-27version-related changes in Makefile and helpaarne
2008-06-26moved interruption to GFI level to capture all commandsaarne
2008-06-26fixed decodeUTF8 for pgf; removed old resources from darcsaarne
2008-06-26oops, forgot add Codingaarne
2008-06-26uniform encoding: gfo and pgf in UTF8, internal in unicodeaarne
2008-06-26utf8 adjustmentsaarne