Krasimir Angelov
60bd12a952
the experimental export to Lambda Prolog is now obsolete and is removed
2017-09-07 14:01:46 +02:00
Thomas Hallgren
9f7a6cfe10
PGF2.FFI: import Data.Word(Word)
...
for compatibility with older versions of GHC
2017-09-06 18:01:08 +02:00
Krasimir Angelov
ebe7cb3b73
A new function called "completions" is added in the Haskell runtime and used in PGFService. This makes the extraction of completions more platform independent
2017-09-06 15:17:28 +02:00
Krasimir Angelov
301b100988
word completion in the C parser now returns information about the function which generates the token
2017-09-06 14:37:51 +02:00
Krasimir Angelov
ef071d9157
Merge branch 'master' of https://github.com/GrammaticalFramework/GF
2017-09-06 12:40:22 +02:00
Krasimir Angelov
15d014abb8
the parser in the C runtime can now detect incomplete sentences just like the parser in the Haskell runtime. This is also reflected in all bindings.
2017-09-06 12:38:42 +02:00
Aarne Ranta
8005aee378
in Haskell GADT generation, hide Tree in the import of PGF
2017-09-06 10:51:43 +02:00
Krasimir Angelov
18f2135785
added function printName in the Haskell binding
2017-09-05 11:56:53 +02:00
Krasimir Angelov
0469f4e97a
added languageCode in the Haskell binding
2017-09-05 10:57:40 +02:00
Krasimir Angelov
c3297dd2e9
update documentation for command pt
2017-09-05 10:33:53 +02:00
Krasimir Angelov
01a8e1b88f
GF.Command.TreeOperations is now independent from the runtime's internals
2017-09-05 10:29:02 +02:00
Krasimir Angelov
13d8045814
added exprSize and exprFunctions in the Haskell runtime too and use them in TreeOperations
2017-09-05 10:16:48 +02:00
Krasimir Angelov
5ed0e3ae7f
fix the type signature for exprSize
2017-09-05 10:08:55 +02:00
Krasimir Angelov
30b7ba04c7
added exprFunctions in the Haskell binding
2017-09-05 10:07:43 +02:00
Krasimir Angelov
85cf2d9f5a
added exprSize in the Haskell binding
2017-09-05 09:50:29 +02:00
Krasimir Angelov
a5fe5b9378
added exprHash in the Haskell binding
2017-09-05 09:46:43 +02:00
Mikael Brockman
5c73d6d7a9
Add a Travis configuration for autotesting commits
...
The configuration uses Nix to install dependencies. I first tried using
just Cabal, but compiling all the dependencies takes too long for the
free tier of Travis. Nix doesn't compile Hackage dependencies because
it has a "binary cache" with compiled versions of almost all
Hackage packages.
I do not run the GF test suite, because it seems to be in a
failing state. This can be enabled later.
All of this will only be enabled once the Travis service is set up by
someone in the GF team with the permissions to do so.
Build results will then be automatically visible on all new commits and
pull requests.
2017-09-04 19:22:07 +03:00
Krasimir Angelov
08d781833c
forgot to commit PGF2.FFI
2017-09-04 14:58:59 +02:00
Krasimir Angelov
08d7997d05
Merge branch 'master' of https://github.com/GrammaticalFramework/GF
2017-09-04 14:53:53 +02:00
Krasimir Angelov
71c4b4a246
instance Eq Expr in the Haskell binding
2017-09-04 14:49:44 +02:00
Krasimir Angelov
da091824a3
pt -paraphrase was never properly implemented and is now removed
2017-09-04 13:11:17 +02:00
Krasimir Angelov
74ae6bb89e
Merge branch 'master' of https://github.com/GrammaticalFramework/GF
2017-09-04 11:45:40 +02:00
Krasimir Angelov
1f908fa7bf
eliminate modules PGF.Lexing, PGF.LexingAGreek. Make PGF.Utilities an internal module in the runtime. These are not really part of the core runtime.
2017-09-04 11:43:37 +02:00
Krasimir Angelov
cae52bb9af
added a separate cabal file for the Haskell runtime
2017-09-04 09:57:25 +02:00
Krasimir Angelov
4fe9f88128
move the custom Binary package back to src/runtime/haskell
2017-09-04 09:55:17 +02:00
Krasimir Angelov
bbdbf2bc5d
silence Tab warnings in the Haskell runtime
2017-09-01 14:31:08 +02:00
Krasimir Angelov
c48f3bdfbc
rename the pgf2-bind package to pgf2
2017-09-01 13:07:47 +02:00
Thomas Hallgren
2b52ff1f73
Merge https://github.com/GrammaticalFramework/GF
2017-09-01 11:02:02 +02:00
Krasimir Angelov
e214a00ed3
added command "rt" in the C shell
2017-09-01 10:40:12 +02:00
Krasimir Angelov
5c38482e56
the C shell now type checks expressions before they are used
2017-09-01 10:19:36 +02:00
Krasimir Angelov
8a333c9ca8
bugfix in showType from the C runtime
2017-09-01 10:00:47 +02:00
Krasimir Angelov
d5a7945ba0
complete details for the "ai" command in the C shell
2017-09-01 09:57:00 +02:00
Aarne Ranta
37a1f65f86
added aligner.c to Android.mk
2017-09-01 09:32:28 +02:00
Krasimir Angelov
1a27ddfabb
fix the Android makefile after the addition of word alignment API
2017-09-01 09:19:37 +02:00
Krasimir Angelov
5a37660811
added function treeProbability in the Haskell binding
2017-09-01 08:46:52 +02:00
Krasimir Angelov
1182a9b63d
giza alignment in the C shell
2017-09-01 08:23:12 +02:00
Krasimir Angelov
983e804223
update documentation for Haskell
2017-09-01 08:11:16 +02:00
Krasimir Angelov
b9c04fd612
graphvizWordAlignment in the C runtime
2017-08-31 13:03:11 +02:00
Krasimir Angelov
eaf9f0c3ac
the C runtime now supports the same customizations for GraphViz as the Haskell runtime
2017-08-31 10:58:49 +02:00
Krasimir Angelov
675ef4573c
remove move dead code in the C shell
2017-08-31 08:12:18 +02:00
Krasimir Angelov
16828fb91e
some dead code elimination
2017-08-30 20:42:04 +02:00
Krasimir Angelov
070d00a20c
an almost complete ai command in the C shell
2017-08-30 19:44:10 +02:00
Krasimir Angelov
13a854d349
implement rf in the C shell
2017-08-30 19:19:10 +02:00
Krasimir Angelov
34294bf36e
pg in the C shell now supports most output formats
2017-08-30 19:04:29 +02:00
Krasimir Angelov
cd53269f96
bugfix for hasLinearization in the Haskell binding
2017-08-30 18:11:59 +02:00
Krasimir Angelov
fd56b4b5f3
remove some dead code in the C shell
2017-08-30 16:56:00 +02:00
Krasimir Angelov
ccf9227c05
in the C shell rename the ga command to gt to be consistent with the standard shell
2017-08-30 16:40:25 +02:00
Krasimir Angelov
137a06586a
"lc" was a temporary hack and is now removed from the C shell
2017-08-30 16:36:57 +02:00
Krasimir Angelov
7db9f51d78
"ma" command in the C shell
2017-08-30 16:35:57 +02:00
Krasimir Angelov
4a24bc98f2
the l command in the C shell now supports the same options as in the normal shell
2017-08-30 16:18:26 +02:00