summaryrefslogtreecommitdiff
path: root/gf.cabal
AgeCommit message (Collapse)Author
2020-09-09Import orphan instances of MonadFail for ghc<8Andreas Källberg
Also upgrade alex/happy so automatic install works
2020-09-05MonadFail: Make backwards-compatibleAndreas Källberg
2020-08-05Remove NoMonadFailDesugaring flagAndreas Källberg
I've fixed so everything has the fail it needs now
2019-11-18Fix build problems, bump versiom to gf-3.10.4-gitThomas Hallgren
debian/rules and bin/build-binary-dist.sh needed to be adepted to changes in how INSTALLPATH is used in src/runtime/java/Makefile.
2019-09-20more dead codekrangelov
2019-07-03Start work on PGFtoJSON module. Add compiler flag `-f json`.John J. Camilleri
2019-06-30fully supported case-insensitive parsing/lookupkrangelov
2019-05-15Eliminate the dependency on time-compatThomas Hallgren
It was only needed for compatibility with directory<1.2, but directory>=1.2 has been shipped with ghc since ghc-7.6. Note: time-compat-1.9.* (the current version) is a completely different package, that does not provide the needed function toUTCTime, which was provided in time-compat-0.1.*.
2019-03-07Expose GF.Grammar.Canonical + some refactoringThomas Hallgren
to make it available in other tools by depending on the gf package and importing it
2019-03-07Rename module GF.Compile.ConcreteToCanonical to GF.Compile.GrammarToCanonicalThomas Hallgren
2019-03-05Bump version number to 3.10.3-gitThomas Hallgren
This is not an announced realase, but this is version now installed on our server.
2019-03-05debian/rules bug fix: the RGL was not included in .deb packagesThomas Hallgren
The problem was that the RGL was both built and copied to the destdir during the build step, which caused it to be deleted before the install step. It is now copied to destdir during the install step.
2019-02-26fix the dependency to jsonkrangelov
2019-02-26replace aeson with jsonkrangelov
2019-02-21Need aeson>=1.3Thomas Hallgren
Also remove ununsed GF.Compile.PGFtoAbstract
2019-02-08encoding/decoding canonical GF grammars to/from JSON and YAMLPeter Ljunglöf
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-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
2018-12-04Make GF compile with GHC 8.6.2John J. Camilleri
- Re-implement `Distribution.Simple.BuildPaths.exeExtension` - Turn off `MonadFailDesugaring` Tested with GHC: - 7.10.3 - 8.0.2 - 8.2.2 - 8.4.3 - 8.6.2 Yay Stack!
2018-12-02gf.cabal: update tested-withThomas Hallgren
2018-11-29gf.cabal: remove redundant dependency on old-localeThomas Hallgren
2018-11-28Revert "Completely remove uses of example-based"John J. Camilleri
This reverts commit 69cea20dac8ac73fa0a61ed4ff427d2524ee253b.
2018-11-28Completely remove uses of example-basedJohn J. Camilleri
2018-11-28remove custom-binary flag; update Cabal version restriction; bump version to ↵John J. Camilleri
3.10
2018-07-31gf.cabal: expose GF.Text.Lexing, needed by gf-server.cabalThomas Hallgren
2018-07-26Minimal update with new repo URLs & build instructionsJohn J. Camilleri
2018-07-25[GF Split] Post-split updatesJohn J. Camilleri
2018-07-05Relax dependency on `directory` package for SetupJohn J. Camilleri
Since `listDirectory` is no longer used (852a49920)
2018-07-05revert to a version compatible with Cabal 1.22Krasimir Angelov
2018-07-05Cleanup in Setup.hs; include `custom-setup:setup-depends` in cabal file.John J. Camilleri
2018-07-04Remove code which tries to get version information from darcs folderJohn J. Camilleri
2018-06-13Remove editor mode files from Haskell package (in gf.cabal)John J. Camilleri
2018-04-18gf.cabal: use -fhide-source-pathsThomas Hallgren
if ghc>=8.2
2017-09-07the experimental export to Lambda Prolog is now obsolete and is removedKrasimir Angelov
2017-09-04eliminate modules PGF.Lexing, PGF.LexingAGreek. Make PGF.Utilities an ↵Krasimir Angelov
internal module in the runtime. These are not really part of the core runtime.
2017-09-04move the custom Binary package back to src/runtime/haskellKrasimir Angelov
2017-08-29added option -output-format=java for producing code for embedded grammars in ↵Krasimir Angelov
Java
2017-08-18Bump version requirements to base>=4.6, Cabal>=1.20Thomas Hallgren
Cabal>=1.20 allows control over parallelism when compiling grammars from Setup.hs and WebSetup.hs. base>=4.6 allows conditional compilation with CPP to be eliminated from a few modules. base-4.6 corresponds to GHC 7.6.3, which is what you get in Debian 8 (aka jessie, aka oldstable) from 2015.
2017-08-11Final changes before the release of GF 3.9Thomas Hallgren
2017-08-11gf.cabal: don't enable warnings about unused imports by defaultThomas Hallgren
2017-06-30gf.cabal: update bug-reports and tested-withThomas Hallgren
2017-06-29gf.cabal: update the source repository to point to the GitHub repositoryThomas Hallgren
2017-02-21Fix compilation errors caused by changes in PGF2hallgren
These prevented GF from being built with C run-time support (-fc-runtime).
2016-07-05gf.cabal: bump version to 3.8-darcshallgren
2016-06-22Final changes for the GF 3.8 releasehallgren
News item on the home page Put the download page and release notes in place. Add an entry in debian/changelog. Update the version number in gf.cabal.
2016-06-17Documentation updateshallgren
Remove ghc-7.4 from the list of tested/recommended versions of GHC (because of Hackage dependency problems). Recommend version 7.10.3 of the Haskell Platform. (GHC 8.0.1 works too, but I haven't tested the corresponding Haskell Platform packages.)
2016-06-16A few documentation updateshallgren
gf.cabal: include more GHC versions in the Tested-Width field.
2016-06-16gf.cabal: don't build pgf-shell any more, it's been superceded by gf -cshellhallgren
2016-03-21initial support for BNFC syntax in context-free grammars for GF. Not all ↵krasimir
features are supported yet. Based on contribution from Gleb Lobanov