summaryrefslogtreecommitdiff
path: root/src/GF/Infra
AgeCommit message (Collapse)Author
2008-09-26Added --output-format=ebnf.bjorn
2008-09-25Added --output-format=nolr. Minor makeRegular refactoring.bjorn
2008-09-25Added --output-format=regular.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-23Added srgs_abnf_nonrec grammar printer to GF.Infra.Options.bjorn
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-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-24Export modifyFlags and modifyModuleFlags from GF.Infra.Options.bjorn
2008-08-22Added srgs_xml_nonrec output format.bjorn
2008-06-25Include coding flag in .gfo files.bjorn
Because the PGF file gets all the flags from the GFO file automatically, we get the coding flag in the PGF file too. This is undesirable, since PGF is supposed to always by in UTF-8.
2008-06-25changed names of resource-1.3; added a note on homepage on releaseaarne
2008-06-25removed src for 2.9aarne
2008-04-22fix the System.FilePath import for Posixkrasimir
2008-04-22move gfLibraryPath and gfGrammarPath to UseIO. Now they are accessible and ↵krasimir
there is only one place to change if you want to use different envVar
2008-04-22use the standard System.FilePath module instead of our own broken file path ↵krasimir
manipulation functions
2008-03-06option -mac to vt command (uses open with ps)aarne
2008-02-21For Windows get the default GF_LIB_PATH from the executable pathkrasimir
2008-01-01subex elim in gfr generationaarne
2007-12-19more example languagesaarne
2007-12-16restored Int size and last ; added lib/prelude to be the last in any grammar ↵aarne
path
2007-12-07refresh compilation phase in the new formataarne
2007-11-07encoding of lincats as gfcc terms with param value informationaarne
2007-10-16found and temporarily solved the bug in LangGer gfcc generationaarne
2007-10-05cleaned up new GFCC, but added RP as deprecatedaarne
2007-09-25remove the dependency to GF.Data.Operations from GF Embed APIkr.angelov
2007-09-21fixed reading argvars from gfc in gf-to-gfccaarne
2007-09-20compact printing of gf filesaarne
2007-09-20refactored FCFG parsing to fit in GFCC shellaarne
2007-09-16strict reading of files; bug fix in readFiles in ShellStateaarne
2007-09-12bug fix in import reading (had forgotten gfr)aarne
2007-07-04tutorial exercises; put libdir in place in GF/srcaarne
2007-06-19extended functor syntaxaarne
2006-09-16bug fixes in multigrammar handling and GFCC generationaarne
2006-06-03check circularities in lnaarne
2006-06-01add the FCFG parserkr.angelov
2006-06-01bug fixes: too much reading of files ; lin of variant recordsaarne
2006-05-30lincat typecheck and abstract-interface extension fixedaarne
2006-05-23bug fix in with-modules and gr checker; factoring out cats to Commonaarne
2006-03-02tb -trees ; rl ; path in gfe ; removed spurious "file not found"aarne
2006-02-25resource specialized to present tense ; preprocessor flagaarne
2006-02-24bronzeage README ; topological sorting of abstract modulesaarne
2006-02-23the -gfc optionaarne
2005-12-01making apply_transfer workaarne
2005-11-15extended cf syntax; Det experimentaarne
2005-11-14arbitrary lincat records; noparse pragmasaarne
2005-11-11compilation of functorsaarne
2005-11-09preparing for new ShellStateaarne