Bump pgf2 to 1.2.0

This commit is contained in:
John J. Camilleri
2020-07-28 22:36:49 +02:00
parent 22d5f31d74
commit f00f0cb0ef
4 changed files with 31 additions and 23 deletions

View File

@@ -1,3 +1,9 @@
## 1.2.0
- Stop `pgf-shell` from being built by default.
- parseToChart also returns the category.
- bugfix in bracketedLinearize.
## 1.1.0 ## 1.1.0
- Remove SG library. - Remove SG library.

View File

@@ -1,6 +1,6 @@
# PGF2 # PGF2
This is a Haskell binding to the PGF runtime in C. This is a Haskell binding to the PGF runtime written in C.
The exposed modules are: The exposed modules are:
@@ -9,18 +9,19 @@ The exposed modules are:
## How to compile ## How to compile
```
cabal install
```
**Note:** you must have the PGF C runtime already installed and available. **Note:** you must have the PGF C runtime already installed and available.
See <https://github.com/GrammaticalFramework/gf-core/blob/master/src/runtime/c/INSTALL> See <https://github.com/GrammaticalFramework/gf-core/blob/master/src/runtime/c/INSTALL>
Once the runtine is installed, you can use:
```
cabal install pgf2
```
## How to use ## How to use
Import PGF to the Haskell program that you're writing. Simply import `PGF2` in your Haskell program.
The Cabal infrastructure will make sure to tell the compiler The Cabal infrastructure will make sure to tell the compiler where to find the relevant modules.
where to find the relevant modules.
## Example ## Example

View File

@@ -1,6 +1,6 @@
name: pgf2 name: pgf2
version: 1.1.0 version: 1.2.0
synopsis: Bindings to the PGF runtime in C synopsis: Bindings to the C version of the PGF runtime
description: description:
GF, Grammatical Framework, is a programming language for multilingual grammar applications. GF, Grammatical Framework, is a programming language for multilingual grammar applications.
GF grammars are compiled into Portable Grammar Format (PGF) which can be used with the PGF runtime, written in C. GF grammars are compiled into Portable Grammar Format (PGF) which can be used with the PGF runtime, written in C.
@@ -9,7 +9,7 @@ homepage: https://www.grammaticalframework.org
license: LGPL-3 license: LGPL-3
license-file: LICENSE license-file: LICENSE
author: Krasimir Angelov author: Krasimir Angelov
maintainer: Krasimir Angelov, John J. Camilleri maintainer: kr.angelov@gmail.com
category: Language category: Language
build-type: Simple build-type: Simple
extra-source-files: CHANGELOG.md, README.md extra-source-files: CHANGELOG.md, README.md
@@ -33,15 +33,15 @@ library
cc-options: -std=c99 cc-options: -std=c99
c-sources: utils.c c-sources: utils.c
executable pgf-shell -- executable pgf-shell
main-is: pgf-shell.hs -- main-is: pgf-shell.hs
hs-source-dirs: examples -- hs-source-dirs: examples
build-depends: -- build-depends:
base, -- base,
containers, -- containers,
lifted-base, -- lifted-base,
mtl, -- mtl,
pgf2 -- pgf2
default-language: Haskell2010 -- default-language: Haskell2010
if impl(ghc>=7.0) -- if impl(ghc>=7.0)
ghc-options: -rtsopts -- ghc-options: -rtsopts

View File

@@ -0,0 +1 @@
resolver: lts-12.26 # ghc 8.4.4