summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-18fixes in the headers for compilation on Windowskrangelov
2019-02-14disable the parser debugger which was left enabled by accidentkrangelov
2019-02-14fix the reader for patterns in a def rulekrangelov
2019-02-14different definition for GF_ARRAY_LENkrangelov
2019-02-14bugfix in computing record lengthskrangelov
2019-02-08added helper info about canonical grammar outputPeter Ljunglöf
2019-02-08enable export of canonical grammars to JSON and YAMLPeter Ljunglöf
2019-02-08encoding/decoding canonical GF grammars to/from JSON and YAMLPeter Ljunglöf
2019-01-23Export of concrete syntax to Haskell now goes via Canonical GFThomas Hallgren
TODO: better treatment of Predef functions and record subtyping coercions
2019-01-23PGF.Haskell.fromStr: fix double spaces caused by empty tokensThomas Hallgren
2019-01-22More work on the canonica_gf exportThomas 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-21gfse: prevent scrolling during drag-and-drop on iOSThomas Hallgren
Applies to webkit-based browsers on other touch-based platforms too
2019-01-18Two fixes in GF.Grammar.CanonicalThomas Hallgren
+ Hide Prelude.<> to avoid ambiguity with ghc-8.6 + Vertical alternative in the pretty printer for table types A => B
2019-01-17Adding -output-format canonical_gfThomas 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-16Fix compilation with ghc-7.10Thomas Hallgren
NoMonadFailDesugaring is not supported by ghc-7.10, but it is only needed with ghc>=8.6
2019-01-10Update links to Haskell docs on homepageJohn J. Camilleri
2019-01-07Merge pull request #25 from pkolachi/masterPrasanth Kolachina
add CoNLLU as output format for gf2ud: merging issue (#24)
2019-01-07add CoNLLU as output format for gf2ud: merging issue (#24)Prasanth Kolachina
2019-01-07Merge pull request #24 from odanoburu/gf2ud-commentsPrasanth Kolachina
(gf2ud) add comments to CoNLL-U output
2018-12-22Change refs from RGL's Make.* to Setup.* in dev guideJohn J. Camilleri
2018-12-20fix after the change in bracketed stringKrasimir Angelov
2018-12-20Merge branch 'master' of https://github.com/GrammaticalFramework/gf-coreKrasimir Angelov
2018-12-20revert to printing the unique id in ppBracketedStringKrasimir Angelov
2018-12-20save the original concrete category in BracketedStringKrasimir Angelov
2018-12-19(gf2ud) add comments to CoNLL-U outputodanoburu
when debbuging labels, I find it useful to have comments saying what's the original sentence (lazy, I know) and the original tree (depending on the treebank, the trees can be similar). I know this is not the goal exactly, but UDv2 treebanks (http://universaldependencies.org/format.html) should always have a 'text =' comment, and a 'sent_id =' comment (which would be easy to implement too, but not that useful).
2018-12-18Update PGF API link to point to 3.9, as 3.10 has no docs on HackageJohn J. Camilleri
2018-12-18added the possibility to annotate features of syncat words, e.g. @"is" PresSg3Aarne Ranta
2018-12-18refactored cnc configfile parsing a bitAarne Ranta
2018-12-18Merge pull request #22 from pkolachi/masterAarne Ranta
fix conll output in gf2ud and allow comments in dependency configs
2018-12-18Merge branch 'master' into masterAarne Ranta
2018-12-18morph. feat generation by ARPrasanth Kolachina
2018-12-18added morphological tags to UD tree output. Tags are give in ↵Aarne Ranta
CncConfiguration, e.g. @N Sg Pl. Default tag is Cat-offset, as defined for each Cat in pgf
2018-12-17allow comments in dependency configs and fix conll outputPrasanth Kolachina
2018-12-16a pool where the smallest chunks are memory pageskrangelov
2018-12-10TOC for Markdown should now work for both Pandoc < 2.0 and >= 2.0John J. Camilleri
The use of $toc$ and $table-of-contents$ flags changed, see: https://pandoc.org/releases.html#pandoc-2.0-29-oct-2017 under "Behaviour changes"
2018-12-09Replace gf-refman.html with Markdown version gf-refman.mdJohn J. Camilleri
The raw HTML was invalid, and this way we use the common website template for a uniform look without any duplication. It seems gf-refman.html was once generated from txt2tags, although I have been unable to find this original .t2t file. I also tried to re-generate txt2tags from HTML but was not able to. However I was able to convert HTML to Markdown using Pandoc and I think the result is pretty good, so I think we should use this. The original gf-refman.html can be obtained from git history, e.g.: https://github.com/GrammaticalFramework/gf-core/blob/a7e43d872f5e612f93131f2d8caf811fbee9aa83/doc/gf-refman.html
2018-12-08Area under footer is all gray even on short pagesJohn J. Camilleri
2018-12-08Update doc/index pageJohn J. Camilleri
2018-12-08Regnerate HTML if template changesJohn J. Camilleri
2018-12-08Fix some invalid HTML.John J. Camilleri
2018-12-06Add some documentation to update_htmlJohn J. Camilleri
2018-12-06Case-insensitve sed replacements handled the dumb wayJohn J. Camilleri
Because BSD sed != GNU sed
2018-12-06Add reference to DG in homepage footer. Spacing in top links.John J. Camilleri
2018-12-06Add link to open #gf in web chatJohn J. Camilleri
2018-12-06Fix linking to chapters in gf-tutorial; Remove reference to Htmls.John J. Camilleri
2018-12-05Another fake change to trigger rebuild of gf-tutorialJohn J. Camilleri
2018-12-05Rewrite <a name=...> to <div id=...> to preserve page anchors in PandocJohn J. Camilleri
2018-12-05Update runtime-api.html to match the new visual look of the GF websiteJohn J. Camilleri
2018-12-05Fake change to trigger rebuild of gf-tutorialJohn J. Camilleri
2018-12-05Clarifications on download page: binary packages include RGLJohn J. Camilleri