Andreas Källberg
340f8d9b93
First attempt at github actions for stack
2020-09-12 10:55:18 +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
150b592aa9
Add stack file for ghc8.8.4
2020-09-08 15:10:29 +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
57c1014e9f
Update package database on ubuntu build
...
Fixes 404 error:
https://github.com/GrammaticalFramework/gf-core/runs/1076062405
2020-09-05 20:36:04 +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
Inari Listenmaa
bca0691cb0
(Tutorial) Minor typofixes + current error message
2020-08-31 15:54:33 +02:00
Inari Listenmaa
3de9c664fd
Merge pull request #73 from inariksit/video-tutorial-page
...
(Homepage) Change link of video tutorials to a page + small fixes
2020-08-31 15:31:31 +02:00
Inari Listenmaa
f6560d309e
(Homepage) Change link of video tutorials to a page + small fixes
...
Also added video tutorial link to the footer.
2020-08-30 20:53:59 +02:00
Inari Listenmaa
254f03ecfe
Fix wording + formatting slightly
2020-08-30 20:38:49 +02:00
Inari Listenmaa
0bb02eeb51
Add a page for all GF video tutorials
2020-08-30 20:08:17 +02:00
Inari Listenmaa
bf21b4768c
(Tutorial) Fix to make calculator example compile
...
In abstract: startcat needs to be defined to run the commands that are shown later in the doc.
In concrete: ss and SS are defined in Prelude.
2020-08-21 13:25:16 +02:00
Andreas Källberg
47dbf9ac27
Add stack file for a more recent ghc
2020-08-19 14:13:17 +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
85ab6daaaa
Add cabal dist-newtyle to gitignore
2020-08-05 19:09:25 +02:00
Andreas Källberg
e351e7b79a
Remove NoMonadFailDesugaring flag
...
I've fixed so everything has the fail it needs now
2020-08-05 18:48:24 +02:00
Andreas Källberg
05903b271c
Fix testsuite compatability with newer Cabal
2020-08-05 18:48:24 +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
John J. Camilleri
e10bb790cb
Merge pull request #69 from GrammaticalFramework/pgf2-hackage
...
Update pgf2 metadata for uploading to Hackage
Even though this isn't able to package the C runtime itself into the Haskell package, I think these changes are still worth merging into master.
2020-08-03 10:53:51 +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
krangelov
77a2630ed9
revert to using unconditional probabilities in the different lookup functions
2020-07-11 09:52:43 +02:00
John J. Camilleri
f54e54123c
Merge remote-tracking branch 'origin/master' into pgf2-hackage
...
# Conflicts:
# src/runtime/haskell-bind/pgf2.cabal
2020-07-08 22:07:08 +02:00
John J. Camilleri
2ac796dbbc
Remove PGF from PGF2, clean up PGF2 cabal file.
2020-07-08 21:55:42 +02:00
krangelov
33818076ff
drop the SG library completely.
2020-07-08 21:12:01 +02:00
John J. Camilleri
47d1da0845
Merge pull request #65 from GrammaticalFramework/build-debian-package
...
Build Debian package via GitHub action
2020-07-07 12:02:35 +02:00