| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-03 | runtime/javascript: use a grammar.js with two langauges | Thomas Hallgren | |
| grammar.js contained only one langauge: FoodsEng. Now it contains FoodsEng and FoodsIta, similar to what's shown in the gf-tutorial. The grammar comes from gf-contrib/tutorial/foods. | |||
| 2019-05-03 | gf-tutorial: fix link to JavaScript translator demo | Thomas Hallgren | |
| After fixing trivial problem in translator.html, the demo works, but the example grammar contains only one langauge, so it is not so interesting. translator.html is located in src/runtime/javascript. The editor.html in the same location also works. | |||
| 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-04-12 | respect the probs option also when merging PGFs | krangelov | |
| 2019-03-26 | Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core | krangelov | |
| 2019-03-26 | bugfix in the pretty printer | krangelov | |
| 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-20 | hiding morphological tags from Latex printing of dependency trees | Aarne Ranta | |
| 2019-03-20 | Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core | Thomas Hallgren | |
| 2019-03-20 | GF.Grammar.Canonical: pretty printer: omit some redundant brackets | Thomas Hallgren | |
| 2019-03-19 | support cross-compilation from Linux to Windows | krangelov | |
| 2019-03-19 | Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core | krangelov | |
| 2019-03-19 | added one more possible location for Java headers | krangelov | |
| 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-12 | Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core | Thomas Hallgren | |
| 2019-03-12 | GF.Grammar.Canonical: add TuplePattern and CommentedValue | Thomas Hallgren | |
| 2019-03-08 | canonical GF: flatten several concatenations into one json array, and parse ↵ | Peter Ljunglöf | |
| the array back into concatenations | |||
| 2019-03-08 | added parsing of json into canonical GF | Peter Ljunglöf | |
| 2019-03-08 | remove case expressions (no particular reason) | Peter Ljunglöf | |
| 2019-03-08 | corrected json printing | Peter Ljunglöf | |
| some object labels must be preceded by ".", to not be in conflict with GF records (which are stored as json objects) plus some minor bugfixes and cleaning | |||
| 2019-03-08 | Remove "canonical_yaml" from the option descriptions | Peter Ljunglöf | |
| 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-03-07 | haskell-bind/utils.c: add missing return | Thomas Hallgren | |
| Found via C compiler warning | |||
| 2019-02-27 | strip empty phrases in bracketedLinearize | krangelov | |
| 2019-02-26 | fixed typo on c-bracketedLinearize | krangelov | |
| 2019-02-26 | replace aeson with json | krangelov | |
| 2019-02-26 | added command c-bracketedLinearize | krangelov | |
| 2019-02-21 | Need aeson>=1.3 | Thomas Hallgren | |
| Also remove ununsed GF.Compile.PGFtoAbstract | |||
| 2019-02-21 | Merge pull request #34 from heatherleaf/master | Thomas H | |
| Encode/decode of canonical grammars to/from JSON/YAML | |||
| 2019-02-20 | added Data.Data.Data instance for Expr | krangelov | |
| 2019-02-18 | fixes in the headers for use with Microsoft Visual C++ | krangelov | |
| 2019-02-18 | fixes in the headers for compilation on Windows | krangelov | |
| 2019-02-14 | disable the parser debugger which was left enabled by accident | krangelov | |
| 2019-02-14 | fix the reader for patterns in a def rule | krangelov | |
| 2019-02-14 | different definition for GF_ARRAY_LEN | krangelov | |
| 2019-02-14 | bugfix in computing record lengths | krangelov | |
| 2019-02-08 | added helper info about canonical grammar output | Peter Ljunglöf | |
| 2019-02-08 | enable export of canonical grammars to JSON and YAML | Peter Ljunglöf | |
| 2019-02-08 | encoding/decoding canonical GF grammars to/from 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-23 | PGF.Haskell.fromStr: fix double spaces caused by empty tokens | Thomas Hallgren | |
| 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-21 | gfse: prevent scrolling during drag-and-drop on iOS | Thomas Hallgren | |
| Applies to webkit-based browsers on other touch-based platforms too | |||
| 2019-01-18 | Two fixes in GF.Grammar.Canonical | Thomas Hallgren | |
| + Hide Prelude.<> to avoid ambiguity with ghc-8.6 + Vertical alternative in the pretty printer for table types A => B | |||
| 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... | |||
| 2019-01-07 | add CoNLLU as output format for gf2ud: merging issue (#24) | Prasanth Kolachina | |
| 2019-01-07 | Merge pull request #24 from odanoburu/gf2ud-comments | Prasanth Kolachina | |
| (gf2ud) add comments to CoNLL-U output | |||
| 2018-12-20 | fix after the change in bracketed string | Krasimir Angelov | |
