Liyana
76bec6d71e
Omitted import Except(..)
2020-11-12 09:48:15 +08:00
Liyana
2dc179239f
Replaced Control.Monad.Error with Control.Monad.Except
2020-11-10 17:32:43 +08:00
Liyana
9b02385e3e
Removed fromValue for boolV
2020-11-10 17:26:56 +08:00
Liyana
54e5fb6645
Added explicit implementation for 'readJSON' in the instance declaration for 'JSON PGF.Trie'
2020-11-10 17:19:18 +08:00
Liyana
8ca4baf470
Deleted redundant pattern match
2020-11-10 17:15:20 +08:00
Liyana
1f7584bf98
Added explicit implementation for 'fromValue' in instance declaration for 'Predef Bool'
2020-11-10 17:14:31 +08:00
Liyana
4364b1d9fb
Replaced Control.Monad.Error with Control.Monad.Except
2020-11-10 17:11:41 +08:00
Liyana
33aad1b8de
Deleted redundant pattern match
2020-11-10 17:06:35 +08:00
Liyana
dc6dd988bc
Replaced inlinePerformIO with accursedUnutterablePerformIO
2020-11-10 17:01:47 +08:00
Liyana
ac81b418d6
Added readJSON error messages
2020-11-10 16:57:33 +08:00
Andreas Källberg
1ff66006b8
Fix infinite recursion on error
...
The implementation was meant to lift from SIO to IO,
but instead it was just the identity function,
which means that `fail = id . fail` and we have an infinite loop.
2020-10-26 17:21:22 +01:00
Andreas Källberg
f2e4b89a22
Fix syntax error problem for older versions of GHC
2020-10-08 17:41:44 +02:00
krangelov
f3a8658cc1
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2020-10-02 19:55:24 +02:00
krangelov
bfb94d1e48
fix parsing with HOAS
2020-10-02 19:34:52 +02:00
John J. Camilleri
d95b3efd6b
Add instructions for uploading PGF2 to Hackage
2020-09-18 10:49:21 +02:00
John J. Camilleri
db8b111e72
Bump PGF2 to 1.2.1
2020-09-18 10:34:45 +02:00
John J. Camilleri
ab52572f44
Fix bug where shell commands were ignored, introduced by #71
2020-09-18 09:25:08 +02:00
Andreas Källberg
127a1b2842
Remove MonadFail requirements for aeson code
2020-09-12 11:04:32 +02:00
Andreas Källberg
2fd1040724
Fix incorrect type and update dependencies
2020-09-12 11:04:32 +02:00
Andreas Källberg
9d8cd55cd5
Import orphan instances of MonadFail for ghc<8
...
Also upgrade alex/happy so automatic install works
2020-09-09 11:05:41 +02:00
Andreas Källberg
56f94da772
Merge remote-tracking branch 'origin/master' into fix-newer-cabal
2020-09-05 21:11:12 +02:00
Andreas Källberg
57ce76dbc1
Add two more missing MonadFail imports
2020-09-05 20:57:30 +02:00
Andreas Källberg
2b23e0f27e
Fix wrong indent
2020-09-05 20:45:08 +02:00
Andreas Källberg
7268253f5a
MonadFail: Make backwards-compatible
2020-09-05 20:23:07 +02:00
Andreas Källberg
1234c715fc
Fix MonadFail for c-runtime as well
2020-09-05 18:57:40 +02:00
krangelov
90fc1d750e
remove the deprecated pgf_print_expr_tuple
2020-08-14 21:03:48 +02:00
krangelov
24beed9a95
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2020-08-14 20:56:20 +02:00
krangelov
23edeec5a9
added an API for cloning expressions/types/literals
2020-08-14 20:54:15 +02:00
Inari Listenmaa
542a41fb32
Merge pull request #70 from inariksit/haskell
...
New features in PGF to Haskell translation
2020-08-11 14:20:28 +02:00
Andreas Källberg
3bd1f01959
Fix a few warnings
2020-08-05 18:48:24 +02:00
Andreas Källberg
0581d6827e
Fix most build errors
2020-08-05 18:48:24 +02:00
Andreas Källberg
b8812b54b2
fix newer ghc: Don't try to be backwards compatible
2020-08-05 18:48:24 +02:00
Andreas Källberg
251845f83e
First attempt at fixing incompabilities with newer cabal
2020-08-05 18:48:24 +02:00
Inari Listenmaa
7c478016d0
Replace deprecated pragma with up-to-date one. ( #17 )
2020-08-03 19:45:20 +02:00
John J. Camilleri
deddde953f
Add script for uploading PGF2 documentation to Hackage
...
Hackage's attempt to build the package will fail because of missing C libraries
2020-08-03 14:22:32 +02:00
Inari Listenmaa
868566a319
Remove accidentally added space character in deriving clause.
2020-07-31 15:16:45 +02:00
Inari Listenmaa
aeabc955c8
Remove characters that aren't allowed in Haskell data types.
...
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 15:05:46 +02:00
Inari Listenmaa
030c3bfee9
Add option "data" to Haskell options.
...
Imports Data.Data, all GF types derive Data, and uses DeriveDataTypeable.
2020-07-31 12:46:19 +02:00
John J. Camilleri
c53353f087
Updates to PGF2 readme
2020-07-28 22:54:34 +02:00
John J. Camilleri
f00f0cb0ef
Bump pgf2 to 1.2.0
2020-07-28 22:36:49 +02:00
John J. Camilleri
22d5f31d74
Merge remote-tracking branch 'origin/master' into pgf2-hackage
2020-07-28 22:19:15 +02:00
krangelov
830dbe760d
expose parseToChart via the Web API
2020-07-26 15:56:54 +02:00
krangelov
d7965d81b4
parseToChart also returns the category
2020-07-26 15:56:21 +02:00
krangelov
a2d7f1369c
filter out empty brackets
2020-07-26 15:55:18 +02:00
krangelov
0cee82f715
the if is actually unnecessary
2020-07-22 16:55:21 +02:00
krangelov
7229033e42
bugfix in bracketedLinearize
2020-07-22 16:26:05 +02:00
krangelov
8bc4cc7187
added function for posting query strings. scales better than get.
2020-07-21 22:29:00 +02:00
krangelov
2b09e70b4a
allow specifying content-type in ajax_http
2020-07-21 13:19:19 +02:00
John J. Camilleri
38f468eed3
(pgf2) Readme, license, changelog
2020-07-11 21:06:08 +02:00
John J. Camilleri
88a73c1d9e
Bump pgf2 to 1.1.0, update README
2020-07-11 20:00:25 +02:00