Commit Graph
100 Commits
Author SHA1 Message Date
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
krangelov be43b0ba35 fix variable type 2021-09-22 11:03:16 +02:00
krangelov 1d1d1aad81 small optimization 2021-09-22 11:02:45 +02:00
krangelov 70566fc6d6 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-22 07:35:30 +02:00
krangelov 432bc26b23 bugfix in PgfExprProbEstimator 2021-09-22 07:35:07 +02:00
krangelov e41feae82a database synchronization only on commit 2021-09-17 16:43:54 +02:00
krangelov 348c348e14 the compiler can now boot and load an .ngf file 2021-09-17 13:15:58 +02:00
krangelov b583faa042 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-17 12:01:28 +02:00
krangelov 2e30c7f6cb bugfix 2021-09-17 12:01:14 +02:00
krangelov ddb01b41be In case of exception, report the offending function 2021-09-17 11:22:18 +02:00
krangelov 3f31d86d0d errno is not set for FILE I/O so we do our best 2021-09-17 10:06:11 +02:00
krangelov f456f09054 finally fix the test caused by the change in readNGF behaviour 2021-09-16 12:08:22 +02:00
krangelov 24a30b344e another fix 2021-09-16 12:04:25 +02:00
krangelov 89e99d829c fix the tests in richcompare 2021-09-16 11:50:50 +02:00
krangelov 56d47ad561 forgot to update the testsuite 2021-09-16 11:31:09 +02:00
krangelov c4fee30baf fix the compilation in Type_richcompare and simplify a bit 2021-09-16 11:26:40 +02:00
krangelov b408650125 createFunction now takes arity as argument 2021-09-16 11:04:45 +02:00
krangelov fc268a16df We can now compile abstract grammars 2021-09-16 10:59:48 +02:00
krangelov a79fff548d readNGF now fails if the file doesn't exist. Instead there is newNGF 2021-09-16 10:34:51 +02:00
krangelov 3d0450cb2a Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-15 19:59:09 +02:00
krangelov e00be98ac6 added writePGF 2021-09-15 19:58:42 +02:00
krangelov c6d6914688 switch to using FILE * in the reader 2021-09-15 08:06:18 +02:00
krangelov 9fe6ee3cce bugfixes for showContext & showType 2021-09-14 19:54:38 +02:00
krangelov a7bf47cb87 added showContext 2021-09-14 19:10:01 +02:00
krangelov 3675e5cfc6 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-14 17:33:43 +02:00
krangelov e82fb7f32f added exprProbability 2021-09-14 17:33:22 +02:00
krangelov 05813384e0 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-14 09:34:22 +02:00
krangelov 22f62be511 added PGF(pIdent,pExpr) 2021-09-14 09:34:00 +02:00
krangelov cf7673525f the compiler now compiles with the new runtime 2021-09-13 18:32:57 +02:00
krangelov 6cb4bef521 added API for accessing flags 2021-09-12 12:57:45 +02:00
krangelov f1e1564228 the reader now controls the PGF version 2021-09-12 08:26:05 +02:00
krangelov a7f00a4e84 detect and report an attempt to load non .ngf file in readNGF 2021-09-12 08:11:10 +02:00
krangelov 375452063f fix the crashes 2021-09-11 23:32:50 +02:00
krangelov 08923a57b9 fix typo 2021-09-11 22:46:15 +02:00
krangelov 6cfa250b28 PgfDB::sync is now moved to the desctructor for DB_scope 2021-09-11 18:20:28 +02:00
krangelov 4e443374de restore the thread local declarations that were accidentally removed 2021-09-11 18:06:28 +02:00
krangelov ae0a6aa6b6 clean up everything after revision is not needed anymore. 2021-09-11 16:33:22 +02:00
krangelov 7f0eb34864 fix typo 2021-09-10 22:31:51 +02:00
krangelov 1b09e7293f implemented pgf_free_revision 2021-09-10 11:39:54 +02:00
krangelov 7c622d2621 fix the definition of PgfMarshallerVtbl for C 2021-09-09 17:58:18 +02:00