Commit Graph
100 Commits
Author SHA1 Message Date
krangelov 8c18d7162f bits of documentation 2019-05-28 12:59:07 +02:00
krangelov ac039ec74f filter out empty cohorts 2019-05-28 12:42:59 +02:00
krangelov 9f0ea19a1c API for scanning for cohorts in an arbitrary text 2019-05-28 12:26:00 +02:00
krangelov 8df2121650 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-05-27 09:06:11 +02:00
krangelov 8b9719bd2d remove duplicate definition for RecordCompare 2019-05-27 09:05:41 +02:00
krangelov c628e11c01 respect the probs option also when merging PGFs 2019-04-12 11:04:40 +02:00
krangelov de53a7c4db Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-03-26 12:21:52 +01:00
krangelov 1e9188ea60 bugfix in the pretty printer 2019-03-26 12:21:35 +01:00
krangelov 099f2de5b4 support cross-compilation from Linux to Windows 2019-03-19 12:43:38 +01:00
krangelov 2f2b39c5d2 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2019-03-19 11:22:09 +01:00
krangelov f3d7d55752 added one more possible location for Java headers 2019-03-19 11:21:39 +01:00
krangelov 52f2739da1 strip empty phrases in bracketedLinearize 2019-02-27 08:27:50 +01:00
krangelov fc37bc26cd fixed typo on c-bracketedLinearize 2019-02-26 21:10:06 +01:00
krangelov bde1a6d586 fix the dependency to json 2019-02-26 19:32:08 +01:00
krangelov 25dc934871 replace aeson with json 2019-02-26 19:27:36 +01:00
krangelov 2fdfef13d8 added command c-bracketedLinearize 2019-02-26 15:16:36 +01:00
krangelov 64a2483b12 added Data.Data.Data instance for Expr 2019-02-20 13:00:51 +01:00
krangelov 1d1e65185a fixes in the headers for use with Microsoft Visual C++ 2019-02-18 11:39:21 +01:00
krangelov c32cd7133f fixes in the headers for compilation on Windows 2019-02-18 11:23:01 +01:00
krangelov 409731413e disable the parser debugger which was left enabled by accident 2019-02-14 15:33:21 +01:00
krangelov 8a5e7fa25d fix the reader for patterns in a def rule 2019-02-14 15:32:12 +01:00
krangelov e05c79a751 different definition for GF_ARRAY_LEN 2019-02-14 15:31:36 +01:00
krangelov ef21d08225 bugfix in computing record lengths 2019-02-14 15:29:33 +01:00
Krasimir Angelov 7c97e5566d fix after the change in bracketed string 2018-12-20 12:40:46 +01:00
Krasimir Angelov 7288425daf Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-12-20 10:55:56 +01:00
Krasimir Angelov 260c0d07e0 revert to printing the unique id in ppBracketedString 2018-12-20 10:54:04 +01:00
Krasimir Angelov 26dabeab9b save the original concrete category in BracketedString 2018-12-20 10:52:45 +01:00
krangelov eb22112178 a pool where the smallest chunks are memory pages 2018-12-16 07:46:14 +01:00
Krasimir Angelov fdc5659f80 Merge pull request #19 from MUSTE-Project/master
Fix deprecations from containers >= 0.4.0.0
2018-11-30 12:18:24 +01:00
Krasimir Angelov f898c250ba removed instructions which doesn't actually work 2018-11-30 11:05:59 +01:00
Krasimir Angelov 8560b4fb65 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-11-28 15:33:24 +01:00
Krasimir Angelov b0c3aef6ec add a few missing special tokens to the reference 2018-11-28 15:32:43 +01:00
Krasimir Angelov 05c2cfb628 remove the example-based folder. The code is still in the archive 2018-11-28 14:34:15 +01:00
Krasimir Angelov 69ad1e617e Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-11-28 14:25:53 +01:00
Krasimir Angelov eb2774af2b remove two obsolete options 2018-11-28 14:25:29 +01:00
Krasimir Angelov abf3911b70 expose PGF and Concr for FFI 2018-11-27 21:09:35 +01:00
Krasimir Angelov a0afbfbad3 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2018-10-15 12:04:36 +02:00
Krasimir Angelov 8a9430f63a hide the compatibility API 2018-10-15 12:04:03 +02:00
Krasimir Angelov 73cf58da23 revert to a version compatible with Cabal 1.22 2018-07-05 13:10:02 +02:00
Krasimir Angelov e95aa16fdc Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-07-05 13:01:46 +02:00
Krasimir Angelov ce83d8490b Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-07-05 09:13:04 +02:00
Krasimir Angelov f64b17eef7 Merge branch 'master' of https://github.com/GrammaticalFramework/GF
Conflicts:
	examples/phrasebook/SentencesBul.gf
	examples/phrasebook/WordsBul.gf
2018-07-04 13:09:39 +02:00
Krasimir Angelov 7bfd6199d6 a majour refactoring to support clitic pronouns 2018-07-04 13:01:06 +02:00
Krasimir Angelov 00476ae386 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-06-27 20:52:59 +02:00
Krasimir Angelov 97da247d21 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-06-27 11:54:24 +02:00
Krasimir Angelov 6c4c22ff7a undo the partial fix for word completion since it breaks normal parsing 2018-06-27 11:53:40 +02:00
Krasimir Angelov 5afaa39c19 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-06-23 22:47:32 +02:00
Krasimir Angelov 68db7695f5 a simple fix for the linearizer 2018-06-20 22:21:10 +02:00
Krasimir Angelov b86373438b Revert "when linearizing missing functions with brackets, the name of the function should still be reported"
This reverts commit 18204bdd25bd460904ac475f3ea340daa96589df.
2018-06-20 21:16:19 +02:00
Krasimir Angelov 4cdd4dd8a7 Revert "forgot to switch off the debugger"
This reverts commit 5919dfa3366dfd2f2af8c3ce7749d066a2033f0d.
2018-06-20 21:13:58 +02:00
Krasimir Angelov 427f8d8478 forgot to switch off the debugger 2018-06-20 16:36:45 +02:00
Krasimir Angelov aaefe4310d when linearizing missing functions with brackets, the name of the function should still be reported 2018-06-20 16:35:28 +02:00
Krasimir Angelov 65cfdf1775 added bracketedLinearizeAll 2018-06-20 13:51:41 +02:00
Krasimir Angelov d8eac259e4 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-06-20 13:06:15 +02:00
Krasimir Angelov 09d576f5b4 bracketedLinearize in Haskell now emits the BIND constructor like in Java 2018-06-20 13:05:15 +02:00
Krasimir Angelov 96f3484622 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-06-16 07:09:17 +02:00
Krasimir Angelov 10e10298d9 implemented compound nounds which work like adverbs 2018-05-30 23:04:40 +02:00
Krasimir Angelov 44e387ec16 Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-05-28 10:14:27 +02:00
Krasimir Angelov e862968305 added comment for Windows 2018-05-28 10:14:03 +02:00
Krasimir Angelov 4c5fc9f3a8 some tweaks for Windows 2018-05-28 10:12:27 +02:00
Krasimir Angelov 9d39648dfb fixed typo which broke the compilation on Windows 2018-05-21 16:03:30 +02:00
Krasimir Angelov e6ae55641f Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-05-21 09:37:33 +02:00
Krasimir Angelov a6779486c5 fix the compilation when the byte order cannot be detected statically 2018-05-21 09:36:39 +02:00
Krasimir Angelov 2036ffe06d bugfix in the Haskell binding 2018-04-12 15:12:36 +02:00
Krasimir Angelov 9a6b3b4a1f Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2018-04-12 14:45:30 +02:00
Krasimir Angelov 2d898e78c0 bugfix in the C parser 2018-04-12 14:45:02 +02:00
Krasimir Angelov bb4218433f - tweak the tokenizer in pgf_lookup_sentence to threat .!?,: as separate tokens
+ bugfix which causes crashes
2018-02-22 11:35:54 +01:00
Krasimir Angelov a16fe3415a partial fix for word completion in the C runtime 2018-02-04 17:21:15 +01:00
Krasimir Angelov 6e66c6ff1b Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2017-12-19 10:48:11 +01:00
Krasimir Angelov a7926835a3 bugfix for random generation with HOAS 2017-12-19 10:47:30 +01:00
Krasimir Angelov fa8530add1 silence some warnings on MINGW32 2017-12-09 23:11:04 +01:00
Krasimir Angelov 4a1d19086a added one more include to define alloca for Windows 2017-12-09 23:06:34 +01:00
Krasimir Angelov 515ea697ba Merge branch 'master' of https://github.com/GrammaticalFramework/GF 2017-12-09 23:05:32 +01:00
Krasimir Angelov 7260d5496d fix the compilation of sqlite3Btree.c on Windows 2017-12-09 23:04:34 +01:00
Krasimir Angelov 0bb6b5968e temporaryly fix GF.Command.Commands2 2017-10-05 21:09:38 +02:00
Krasimir Angelov e3aa392e63 further extend the API of the C runtime 2017-10-04 09:45:56 +02:00
Krasimir Angelov e426e87cf8 in the PGF2 api: remove showCategory. add categoryContext and functionIsConstructor 2017-10-03 16:05:01 +02:00
Krasimir Angelov 8eef0b5376 GF.Compile.Instructions is obsolete and now removed 2017-09-29 16:52:56 +02:00
Krasimir Angelov f2bc7ec7b6 added exprSubstitute in the C runtime for substituting meta variables 2017-09-28 16:33:34 +02:00
Krasimir Angelov 1c04fa4897 the parser for abstract expressions in the C runtime now supports partial parses 2017-09-28 13:57:13 +02:00
Krasimir Angelov 06ec6b3e92 added a method in Python for pretty printing a grammar 2017-09-26 09:16:48 +02:00
Krasimir Angelov 404154d16b added showPGF in the Haskell API 2017-09-25 18:31:36 +02:00
Krasimir Angelov d79ac56870 handle productions in the internal creation API 2017-09-25 13:23:53 +02:00
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