Commit Graph

7922 Commits

Author SHA1 Message Date
Krasimir Angelov
d103fe6755 make pgf_production_is_lexical public since it will be needed in the Haskell binding 2017-09-25 12:20:48 +02:00
Krasimir Angelov
5f39d062b7 fix typo in jni_utils.c 2017-09-25 10:53:05 +02:00
Krasimir Angelov
9c781c7b24 fix the compilation of jsg.c after the last patch 2017-09-25 10:41:15 +02:00
Krasimir Angelov
66c20b1996 handle BIND & CAPIT in bracketedLinearize for Java 2017-09-25 10:36:38 +02:00
Krasimir Angelov
91728a3a98 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2017-09-18 21:56:07 +02:00
Krasimir Angelov
b3d96cfa93 added Expr.size() in the Java binding 2017-09-18 21:55:10 +02:00
Krasimir Angelov
7ae5ef0a35 add writer.c in Android.mk 2017-09-15 10:32:06 +02:00
Krasimir Angelov
6eb1f8e14c Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2017-09-14 18:12:32 +02:00
Krasimir Angelov
bcb97a336e make the API for indexing in the parser and the linearizer public since it will be needed in the Haskell binding 2017-09-14 18:11:24 +02:00
Krasimir Angelov
0d42eed7b6 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2017-09-14 15:24:02 +02:00
Krasimir Angelov
d574bb2164 an almost complete API for building new PGF files in the Haskell binding 2017-09-14 15:23:13 +02:00
Krasimir Angelov
1ff8dd88e8 fix gu_encode_double 2017-09-13 17:20:00 +02:00
Krasimir Angelov
febf01a9be corrections in the PGF writer 2017-09-13 14:05:26 +02:00
Krasimir Angelov
80b61f716c added PGF2.Internal.writePGF in the Haskell binding 2017-09-13 10:32:39 +02:00
Krasimir Angelov
df992c31fd added gu_out_u16be, gu_out_u64be and gu_out_f64be in libgu. The later is using gu_encode_double which is probably still wrong. Corrected gu_in_le and gu_in_f64be. 2017-09-13 10:23:28 +02:00
Krasimir Angelov
3e55aa4424 added function pgf_write 2017-09-13 09:30:52 +02:00
Krasimir Angelov
09e5278690 added PGF writer to the C runtime 2017-09-13 09:23:55 +02:00
Krasimir Angelov
3aecefebdb an almost complete API for creating the abstract syntax of a PGF in memory 2017-09-11 14:12:36 +02:00
Krasimir Angelov
6712969503 an API to access the grammar's flags 2017-09-11 08:50:29 +02:00
Krasimir Angelov
09f5c95d82 more type corrections 2017-09-08 23:45:33 +02:00
Krasimir Angelov
31b5e550b7 the Haskell binding should be more careful with the matching types in C 2017-09-08 23:21:40 +02:00
Krasimir Angelov
527d97fdd2 fix the type signatures for the linearizer callbacks 2017-09-08 22:58:42 +02:00
Krasimir Angelov
71e6562eaa an initial sketch for PGF building API in the Haskell binding 2017-09-08 15:15:23 +02:00
Krasimir Angelov
16172be940 the C runtime should also install data.h in order to make it possible to access the internal structures 2017-09-07 21:34:39 +02:00
Krasimir Angelov
4f680b728b a light API in the Haskell binding for accessing the internal data structures 2017-09-07 21:31:33 +02:00
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