Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
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
Krasimir Angelov 75efcbd280 added tabularLinearizeAll in the Haskell binding 2017-08-30 16:18:07 +02:00
Krasimir Angelov 08a728799a change tabularLinearize in the Haskell binding to return a list instead of map this preserves the order 2017-08-30 15:59:43 +02:00
Krasimir Angelov 97fe5df267 added the concreteName function in the Haskell binding 2017-08-30 15:43:09 +02:00
Krasimir Angelov 19613a76ab document embedding in C# 2017-08-30 11:22:32 +02:00
Krasimir Angelov dd8a9ed587 Embedded grammars in C# 2017-08-30 11:18:03 +02:00
Krasimir Angelov 14f1fedfe4 document FunctionType in C# 2017-08-30 09:19:53 +02:00
Krasimir Angelov 170c38bb58 for consistency PGF.FunctionByCategory is renamed to PGF.FunctionsByCat 2017-08-30 09:15:23 +02:00
Krasimir Angelov 8a50d851c3 Updated C# documentation 2017-08-30 09:09:45 +02:00
Krasimir Angelov bb5b5ca73b added graphvizAbstractTree and graphvizParseTree in Java 2017-08-30 08:33:16 +02:00
Krasimir Angelov 890e03527b added checkExpr in Java 2017-08-30 08:23:58 +02:00
Krasimir Angelov d92f8f2f9e added readType in Java 2017-08-30 08:15:59 +02:00
Krasimir Angelov 3e9de6ffbb added fullFormLexicon in Java 2017-08-30 08:08:19 +02:00
Krasimir Angelov bee61fe4aa keep the language menu in the documentation always on top. 2017-08-29 21:15:40 +02:00
Krasimir Angelov 78dfc8958d document the embedded API for Java 2017-08-29 21:04:00 +02:00
Krasimir Angelov 1e4ab95e41 added option -output-format=java for producing code for embedded grammars in Java 2017-08-29 20:53:47 +02:00
Krasimir Angelov 03479648ad document the embedded grammars in Haskell & Java 2017-08-29 19:51:33 +02:00
Krasimir Angelov b7b7a7c91c the embedded grammars now work with both the pure Haskell and the Haskell binding API 2017-08-29 18:44:50 +02:00
Krasimir Angelov 62e5852669 Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF 2017-08-29 18:03:56 +02:00
Krasimir Angelov dc0b68cd40 document the visitor pattern in Java 2017-08-29 18:03:26 +02:00
Krasimir Angelov e9e5952eac implemented visitor pattern in Java 2017-08-29 17:55:30 +02:00
Krasimir Angelov 77e9f40bde added signatures for missing API functions in Java. The implementation is still missing 2017-08-29 15:36:27 +02:00
Krasimir Angelov adcc6a53fe a preliminary version of the C# documentation 2017-08-29 15:28:37 +02:00
Krasimir Angelov 634ec20b38 corrected and tested documentation for Java 2017-08-29 14:42:52 +02:00
Krasimir Angelov 09d5d9b091 some missing pieces of documentation for Java 2017-08-29 14:17:28 +02:00
Krasimir Angelov 2f4ed21109 rename unApply to unApp in the Java binding to be consistent with Haskell & Python 2017-08-29 14:03:17 +02:00
Krasimir Angelov b524a5a908 final fixes for the Haskell documentation 2017-08-29 13:59:30 +02:00
Krasimir Angelov d8e552ecdc Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF 2017-08-29 12:00:24 +02:00
Krasimir Angelov 7876848375 remove the TODOs from the runtime documentation 2017-08-29 12:00:00 +02:00
Krasimir Angelov c3b0b6dc4b Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF 2017-08-29 11:58:33 +02:00
Krasimir Angelov 20b72f477a added bracketedLinearize in the Haskell binding 2017-08-29 11:58:12 +02:00
Krasimir Angelov d4026a64f4 tabularLinearize in the Haskell binding 2017-08-28 15:09:34 +02:00
Krasimir Angelov a0fc2f28e8 more in the runtime documentation 2017-08-28 14:23:47 +02:00
Krasimir Angelov 85417da2e3 small typo in the documentation 2017-08-24 22:36:55 +02:00
Krasimir Angelov d53a75728e Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF 2017-08-24 22:34:59 +02:00
Krasimir Angelov 65037bfe01 more work on the runtime documentation 2017-08-24 22:33:40 +02:00
Krasimir Angelov 9761b060f6 fix the API's links on the home page 2017-08-24 18:13:21 +02:00
Krasimir Angelov 6845e7cf35 Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF 2017-08-24 18:11:19 +02:00
Krasimir Angelov a1ff75d208 The documentation for the Python API is now partly ported for Haskell and Java 2017-08-24 18:10:21 +02:00