| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-07-01 | Add --haskell=pgf2 flag | John J. Camilleri | |
| 2021-06-29 | Merge pull request #84 from ffrixslee/issue-46 | Inari Listenmaa | |
| Issue 46 (various deprecations during compilation of GF) | |||
| 2021-01-20 | Don't print out the error msg for pattern matching unnecessarily | Inari Listenmaa | |
| 2020-11-10 | Removed fromValue for boolV | Liyana | |
| 2020-11-10 | Deleted redundant pattern match | Liyana | |
| 2020-11-10 | Added explicit implementation for 'fromValue' in instance declaration for ↵ | Liyana | |
| 'Predef Bool' | |||
| 2020-09-05 | Merge remote-tracking branch 'origin/master' into fix-newer-cabal | Andreas Källberg | |
| 2020-09-05 | MonadFail: Make backwards-compatible | Andreas Källberg | |
| 2020-08-05 | Fix most build errors | Andreas Källberg | |
| 2020-08-05 | fix newer ghc: Don't try to be backwards compatible | Andreas Källberg | |
| 2020-08-05 | First attempt at fixing incompabilities with newer cabal | Andreas Källberg | |
| 2020-08-03 | Replace deprecated pragma with up-to-date one. (#17) | Inari Listenmaa | |
| 2020-07-31 | Remove accidentally added space character in deriving clause. | Inari Listenmaa | |
| 2020-07-31 | Remove characters that aren't allowed in Haskell data types. | Inari Listenmaa | |
| GF allows more characters in its types, as long as they are inside single quotes. E.g. 'VP/Object' is a valid name for a GF category, but not for a Haskell data type. | |||
| 2020-07-31 | Add option "data" to Haskell options. | Inari Listenmaa | |
| Imports Data.Data, all GF types derive Data, and uses DeriveDataTypeable. | |||
| 2020-07-06 | an attempt to solve record extension overloading bug, commented out for the ↵ | aarneranta | |
| moment | |||
| 2020-07-06 | fixed issue #67 on order of record fields in overloading | aarneranta | |
| 2020-06-05 | Condense the unsupported token gluing as per John's suggestion | Inari Listenmaa | |
| 2020-06-04 | Don't output "\n **" if helpfulMsg is empty. | Inari Listenmaa | |
| 2020-06-04 | Add clarification to Internal error in GeneratePMCFG | Inari Listenmaa | |
| 2020-06-04 | Add clarification to Unsupported token gluing (both good and bad case) | Inari Listenmaa | |
| 2020-06-04 | Add clarification to "expected foo, inferred bar" type of error msgs | Inari Listenmaa | |
| 2020-06-04 | Add clarification to "Pattern is not linear" error msg. | Inari Listenmaa | |
| 2020-06-04 | Add suggestions to error messages that are caused by too few/many args | Inari Listenmaa | |
| 2020-03-15 | restore the sequence ordering after -optimize-pgf | krangelov | |
| 2020-02-17 | fix the compilation of case insensitive grammars | krangelov | |
| 2019-09-20 | more dead code | krangelov | |
| 2019-09-20 | removed more dead code | krangelov | |
| 2019-09-20 | remove obsolete code | krangelov | |
| 2019-09-10 | GrammarToCanonical: bug fix: add missing case for Empty | Thomas Hallgren | |
| 2019-07-10 | Minor renamings in JSON format | John J. Camilleri | |
| 2019-07-10 | Address @heatherleaf's suggestions | John J. Camilleri | |
| 2019-07-07 | Whitespace fixes | John J. Camilleri | |
| 2019-07-07 | Finish compile to PGF JSON, including JSON schema for resulting format. | John J. Camilleri | |
| 2019-07-03 | Finish JSON conversion for abstract | John J. Camilleri | |
| 2019-07-03 | Start work on PGFtoJSON module. Add compiler flag `-f json`. | John J. Camilleri | |
| 2019-06-30 | fully supported case-insensitive parsing/lookup | krangelov | |
| 2019-05-20 | reordered error message for 'no overload'; might be even better to show ↵ | Aarne Ranta | |
| complete types | |||
| 2019-04-25 | GF.Compile.CheckGrammar: discard bad 'lincat C = …' with a warning | Thomas Hallgren | |
| e.g. if C is a fun and not a cat in the abstract syntax. Discarding bad lincats prevents GF from generating malformed PGFs that are rejected by the C run-time system. I also added code to reject bad lincats with an error, but I left it commented out since it seems a bit pedantic compared to GF's otherwise rather sloppy grammar checking. | |||
| 2019-03-22 | GF.Compile.GrammarToCanonical: keep unreachable rows in tables | Thomas Hallgren | |
| since unreachable rows can become reachable after grammar transformation. Also export smart constructors for projection and selection. | |||
| 2019-03-14 | GF.Compile.GrammarToCanonical: allow + in reg exps in pre { } | Thomas Hallgren | |
| 2019-03-13 | GF.Grammar.Canonical: some Functor/Foldable/Traversable instances | Thomas Hallgren | |
| 2019-03-07 | Expose GF.Grammar.Canonical + some refactoring | Thomas Hallgren | |
| to make it available in other tools by depending on the gf package and importing it | |||
| 2019-03-07 | Rename module GF.Compile.ConcreteToCanonical to GF.Compile.GrammarToCanonical | Thomas Hallgren | |
| 2019-02-26 | replace aeson with json | krangelov | |
| 2019-02-21 | Need aeson>=1.3 | Thomas Hallgren | |
| Also remove ununsed GF.Compile.PGFtoAbstract | |||
| 2019-02-08 | enable export of canonical grammars to JSON and YAML | Peter Ljunglöf | |
| 2019-01-23 | Export of concrete syntax to Haskell now goes via Canonical GF | Thomas Hallgren | |
| TODO: better treatment of Predef functions and record subtyping coercions | |||
| 2019-01-22 | More work on the canonica_gf export | Thomas Hallgren | |
| + Abstract syntax now is converted directly from the Grammar and not via PGF, so you can use `gf -batch -no-pmcfg -f canonical_gf ...`, to export to canonical_gf while skipping PMCFG and PGF file generation completely. + Flags that are normally copied to PGF files are now included in the caninical_gf output as well (in particular the startcat flag). | |||
| 2019-01-17 | Adding -output-format canonical_gf | Thomas Hallgren | |
| This output format converts a GF grammar to a "canonical" GF grammar. A canonical GF grammar consists of - one self-contained module for the abstract syntax - one self-contained module per concrete syntax The concrete syntax modules contain param, lincat and lin definitions, everything else has been eliminated by the partial evaluator, including references to resource library modules and functors. Record types and tables are retained. The -output-format canonical_gf option writes canonical GF grammars to a subdirectory "canonical/". The canonical GF grammars are written as normal GF ".gf" source files, which can be compiled with GF in the normal way. The translation to canonical form goes via an AST for canonical GF grammars, defined in GF.Grammar.Canonical. This is a simple, self-contained format that doesn't cover everyting in GF (e.g. omitting dependent types and HOAS), but it is complete enough to translate the Foods and Phrasebook grammars found in gf-contrib. The AST is based on the GF grammar "GFCanonical" presented here: https://github.com/GrammaticalFramework/gf-core/issues/30#issuecomment-453556553 The translation of concrete syntax to canonical form is based on the previously existing translation of concrete syntax to Haskell, implemented in module GF.Compile.ConcreteToHaskell. This module could now be reimplemented and simplified significantly by going via the canonical format. Perhaps exports to other output formats could benefit by going via the canonical format too. There is also the possibility of completing the GFCanonical grammar mentioned above and using GF itself to convert canonical GF grammars to other formats... | |||
