summaryrefslogtreecommitdiff
path: root/src/GF
AgeCommit message (Collapse)Author
2008-10-13added a paraphrase method applying def's in both directions, in subtrees, ↵aarne
and step by step; doesn't work properly yet
2008-10-10a first version of PGF.AbsComputeaarne
2008-10-10Added option to treat some categories as lexical when generating Haskell ↵bjorn
data types.
2008-10-06simplified 1.5 by removing mathematical/aarne
2008-10-05added a command for tree operations and started a module for defining themaarne
2008-10-05adapted old AbsCompute for use with source GF termsaarne
2008-10-05prevent pgf from being empty when there are no concrete syntaxesaarne
2008-10-05forced checking def definitions; accept pgf with no concretesaarne
2008-10-03print full types instead of lock field heuristics in overload resolution if ↵aarne
the heuristic is misleading
2008-10-03return error on undefined opers in instance and resourceaarne
2008-10-03Added | syntax for variants.bjorn
2008-10-02Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is ↵bjorn
used, no hand-hacking is needed.
2008-10-02Added src/GF/Source/Makefile for regenerating the GF source parser from GF.cf.bjorn
2008-10-02Converted GF/Source/*.hs to Unix line endings, to be able to see what ↵bjorn
happens when I regenerated the files.
2008-10-02Fail more gracefully on unknown file name extensions.bjorn
2008-10-01added mode 'gf --run' for running silently a script ; made quizzes handle ↵aarne
character encoding correctly ; for this end, collected coding functions in GF.Text.Coding
2008-09-30Use parantheses for precedence in pgf-pretty lincats.bjorn
2008-09-30Added --cfg option for specifying which CFG transformations to use. Added ↵bjorn
startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr".
2008-09-30Fixed CFG start cats for categories with more than one constituent.bjorn
2008-09-30Use filtering in regular printer.bjorn
2008-09-30SRG conversion: print CFG when a unknown cat is found in renameCats. Do ↵bjorn
filtering in ebnf printer.
2008-09-30pgf-pretty: remove single field record lincat hack. handle f "" (S []) ↵bjorn
correctly.
2008-09-30Some pgf-pretty fixes, including note by Peter about W "apa" (S []).bjorn
2008-09-25Changes to the prolog output formatpeb
2008-09-26Added pgf-pretty output-formatbjorn
2008-09-26Added isLiteralCat function to PGF.Macros.bjorn
2008-09-26Added semantic interpretation tag printing to the *bnf grammar printers.bjorn
2008-09-26Use ebnf format for "regular" output-format.bjorn
2008-09-26Changed nolr printer to use EBNF format.bjorn
2008-09-26ebnf printer: print external cats first.bjorn
2008-09-26bnf and ebnf printer: align ::= symbols.bjorn
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