Commit Graph
100 Commits
Author SHA1 Message Date
krangelov 5ee960ed7c fix the evaluation for Prod 2021-10-14 10:24:20 +02:00
krangelov 45ee985fda safe error reporting in case of mmap failure 2021-10-13 21:33:55 +02:00
krangelov 27f0ff14a3 VT should preserve its environment 2021-10-13 19:43:01 +02:00
krangelov a909a85537 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-10-13 19:15:32 +02:00
krangelov c3eb6973f4 working PMCFG generation 2021-10-13 19:14:56 +02:00
krangelov 2a5434df96 avoid using the wildcard constant 2021-10-12 19:07:21 +02:00
krangelov a2e7d20b7a avoid using EOF in the expression parser 2021-10-12 18:47:04 +02:00
krangelov f9c6e94672 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-10-12 12:07:17 +02:00
krangelov 8c721e063c partial support for runtime parameters 2021-10-12 12:06:59 +02:00
Krasimir Angelov 5e65db2e17 Update CompilationOverview.md 2021-10-11 09:47:44 +02:00
krangelov 0977e9073f started the chapters about the compiler 2021-10-11 09:07:06 +02:00
krangelov 8d075b1d57 move the runtime documentation to the main doc folder 2021-10-11 08:59:28 +02:00
krangelov 95c81ec2b7 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-10-08 19:25:39 +02:00
krangelov 62d5ed5b42 small progress on PMCFG 2021-10-08 19:25:21 +02:00
krangelov 15e3ca9acd use prependModule to make the current module available 2021-10-08 11:56:28 +02:00
krangelov 6a9254816d Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-10-08 11:53:42 +02:00
krangelov 98f42051b1 first steps towards PMCFG generation 2021-10-08 11:53:07 +02:00
krangelov e33d881ce8 finished the partial evaluator 2021-10-07 11:47:51 +02:00
krangelov fd6cd382c5 added VGlue to cover the case where we can't precompute the glue 2021-10-05 19:39:24 +02:00
krangelov d9db0ef4a7 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-10-05 19:32:16 +02:00
krangelov 2a2d7269cf remove the Term(Error) constructor. Better propagation of errors. 2021-10-05 19:31:12 +02:00
krangelov dc59d9f3f9 trivial implementation for EPatt & EPattType 2021-10-05 15:45:16 +02:00
krangelov 3c4e7dd20c partial evaluation for (+) 2021-10-05 15:37:42 +02:00
krangelov 93c2f47752 missed VStr -> string2value 2021-10-05 13:38:00 +02:00
krangelov 51954c60ea fix the printer for strings with escape characters 2021-10-05 13:36:54 +02:00
krangelov 3c5741c846 fix in str_char 2021-10-05 13:36:21 +02:00
krangelov 94884ed59e Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-10-05 13:25:01 +02:00
krangelov 6d898fc325 fix the gold standard 2021-10-05 13:24:44 +02:00
krangelov 557cdb82a7 strings computed from a predefined operation should be tokenized 2021-10-05 11:50:59 +02:00
krangelov 26be741dea most primitives in Predef.gf are now implemented 2021-10-05 11:31:39 +02:00
krangelov e6960e30f6 fix the estimation of the character size in PgfExprParser::putc 2021-10-01 12:22:15 +02:00
krangelov c21627950a remove the accidentally added debug messages 2021-10-01 12:01:05 +02:00
krangelov 0708f6e0cc when at EOF don't try to read further 2021-10-01 11:57:31 +02:00
krangelov 0fa739e6e3 one more test 2021-09-30 05:18:02 +02:00
krangelov 0229329d7c implemented pattern macros 2021-09-29 17:38:53 +02:00
krangelov 6efb878c43 pattern matching for "x"* 2021-09-29 14:57:18 +02:00
krangelov edd7081dea implement measured patterns 2021-09-29 13:26:06 +02:00
krangelov 2137324f81 safe pattern matching in the presence of a variable 2021-09-29 09:32:09 +02:00
krangelov 86326d282f pattern matching on strings 2021-09-29 09:18:52 +02:00
krangelov fee186feca fix table selection with meta variables and lambda variables 2021-09-28 13:49:35 +02:00
krangelov 28dd0eda22 evaluation for Prod 2021-09-28 11:47:31 +02:00
krangelov 0771906206 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-28 11:13:58 +02:00
krangelov fcad8dd3e2 no more space leaks 2021-09-28 11:13:45 +02:00
krangelov 67f83ebf8a don't add_ref if the revision doesn't exist 2021-09-28 11:12:12 +02:00
krangelov 9863f32d05 fix a memory leak 2021-09-28 09:53:40 +02:00
krangelov 5334174923 fix reference counting but valgrind says that there are more leaks 2021-09-27 20:24:57 +02:00
krangelov 2b725861fb mark 10000000000000000000 as UL 2021-09-27 19:47:24 +02:00
krangelov af45e96108 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-27 14:12:24 +02:00
krangelov 38de1bf924 pgf_category_prob should return INFINITY for non-existant categories 2021-09-27 14:11:52 +02:00
krangelov 455fd07e12 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-27 13:46:49 +02:00
krangelov 6d234a7d7e bugfix 2021-09-27 13:46:37 +02:00
krangelov 6c2d180544 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-27 13:29:11 +02:00
krangelov d1e6b78a45 overload ExprApp for backward compatibility 2021-09-27 13:28:53 +02:00
krangelov 561862e1bd restore Expr_unpack 2021-09-27 08:53:43 +02:00
krangelov 07c3f4b88a fix Expr_visit 2021-09-27 07:27:44 +02:00
krangelov 4dcf43dbf3 make all members READONLY to avoid crashes later 2021-09-27 06:18:33 +02:00
krangelov 97ca7b112c remove Expr_getsetters 2021-09-27 06:15:00 +02:00
krangelov fbd0be2c3e restore Expr_visit 2021-09-27 06:12:14 +02:00
krangelov b12e8a6969 fix Expr_call 2021-09-27 05:30:00 +02:00
krangelov 809a02f3bc added Expr_subclass_new 2021-09-26 22:54:09 +02:00
krangelov 3716990b8d remove the redundany _new functions 2021-09-26 21:02:57 +02:00
krangelov 729a3102b4 added Expr_new and Expr_reduce_ex for backward compatibility 2021-09-26 20:34:36 +02:00
krangelov 4a0efda0e6 fix the handling of PGF_EXN_OTHER_ERROR 2021-09-25 08:11:05 +02:00
krangelov f82f19ba68 better error handling 2021-09-24 19:54:29 +02:00
krangelov f83ea160da more patterns in the partial evaluator 2021-09-24 19:14:48 +02:00
krangelov 466fd4a7da Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-24 17:20:48 +02:00
krangelov c5b6432016 implemented tables and parameters 2021-09-24 17:20:25 +02:00
krangelov ad9fbdef6f added test case for parameters 2021-09-24 15:55:59 +02:00
krangelov eba37f5b09 fix typo 2021-09-24 15:49:41 +02:00
krangelov d294033822 added more tests 2021-09-24 15:43:53 +02:00
krangelov 886592f345 renamed tests 2021-09-24 15:41:05 +02:00
krangelov ac304ccd7c more low-handing fruits in the partial evaluator 2021-09-24 15:14:52 +02:00
krangelov dea2176115 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-24 15:01:01 +02:00
krangelov 3dc2af61a6 done with partial evaluation for records and variants 2021-09-24 15:00:34 +02:00
krangelov d17ca06faf Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-24 13:57:29 +02:00
krangelov a9a8ed8bf3 fix the dependency on librt 2021-09-24 13:57:11 +02:00
krangelov 2c01eab355 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-24 13:36:21 +02:00
krangelov d72017409a added -lrt 2021-09-24 13:35:51 +02:00
krangelov bd629452ac Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-24 11:26:49 +02:00
krangelov bdd84f10f9 got started on inter-process communication 2021-09-24 11:25:58 +02:00
Krasimir Angelov 00d5b238a3 Update transactions.md 2021-09-23 17:56:09 +02:00
Krasimir Angelov c843cec096 Update transactions.md 2021-09-23 15:28:49 +02:00
Krasimir Angelov 3ee0d54878 Update transactions.md 2021-09-23 15:07:13 +02:00
Krasimir Angelov 5e46c27d86 Update transactions.md 2021-09-23 15:01:19 +02:00
Krasimir Angelov 2a3d5cc617 Update transactions.md 2021-09-23 14:07:50 +02:00
Krasimir Angelov 001e727c29 Update transactions.md 2021-09-23 13:35:11 +02:00
Krasimir Angelov cb6d3c4a2d Update transactions.md 2021-09-23 13:03:18 +02:00
Krasimir Angelov cfc1e15fcf Update transactions.md 2021-09-23 12:01:28 +02:00
Krasimir Angelov bebd56438b Update transactions.md 2021-09-23 10:59:36 +02:00
krangelov a2102b43bd got started with the new partial evaluation 2021-09-22 18:17:50 +02:00
krangelov c4f739c754 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-22 18:14:44 +02:00
krangelov 18e54abf12 make it possible to run specific tests 2021-09-22 18:14:18 +02:00
krangelov bcbf9efa5f started a page about transactions 2021-09-22 14:44:56 +02:00
krangelov 2d74fc4d64 Merge branch 'master' into majestic 2021-09-22 14:15:35 +02:00
krangelov e4b2f281d9 Merge branch 'master' of github.com:GrammaticalFramework/gf-core 2021-09-22 14:11:27 +02:00
krangelov 063c517f3c more tests for variants 2021-09-22 14:11:11 +02:00
krangelov dd65f9f365 a better way to handle double releases 2021-09-22 13:44:03 +02:00
krangelov e11e775a96 merge pgf_free and pgf_free_revision since otherwise we cannot control the finalizers in Haskell 2021-09-22 13:21:07 +02:00
krangelov 74c63b196f Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-22 11:16:52 +02:00
krangelov 58b8c2771e fix double release for stable pointers 2021-09-22 11:16:29 +02:00