Commit Graph
100 Commits
Author SHA1 Message Date
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
krangelov 2f9c784fed Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-09 17:34:12 +02:00
krangelov f7aad0c0e0 added createCategory, dropCategory 2021-09-09 17:33:25 +02:00
krangelov a44787fc4e forgot to add the type signature for pgf_drop_function in the header 2021-09-09 09:52:43 +02:00
krangelov 97c76a9030 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-09 09:47:44 +02:00
krangelov 28321cc023 added dropFunction 2021-09-09 09:47:26 +02:00
krangelov 0dae265b05 expand the comment about PgfExn 2021-09-09 07:25:57 +02:00
krangelov 36ccb7ac8f PGF_API -> PGF_API_DECL 2021-09-09 07:22:25 +02:00
krangelov 6e4681d46b Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-09 07:21:11 +02:00
krangelov 3d4c6031d8 missing call to free after the call to pgf_abstract_name 2021-09-09 07:20:15 +02:00
krangelov 44ee5718e9 more friendly PgfDB::malloc 2021-09-08 14:27:52 +02:00
krangelov 9d63c8a903 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-08 14:10:33 +02:00
krangelov bcc33af36b added support for branches and explicit transaction commit 2021-09-08 14:09:23 +02:00
krangelov 2e846cdf59 added safeguard to ensure that PgfRevision is an actual object 2021-09-08 09:17:12 +02:00
krangelov f741bd9332 more functions could now fail with an exception 2021-09-07 17:18:03 +02:00
krangelov a843ddba55 better error handling which always reports the right file name 2021-09-07 15:54:27 +02:00
krangelov 8936e6211e add <*> to Applicative for Transaction 2021-09-07 13:31:28 +02:00
krangelov 31396e46e3 disable rtti 2021-09-07 13:19:02 +02:00
krangelov e1c23da0a6 forgot updating the header as well 2021-09-07 09:49:45 +02:00
krangelov 2444302482 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-07 09:45:59 +02:00
krangelov 4ea4450481 mark methods in PgfDB as internal 2021-09-07 09:45:30 +02:00
krangelov 1ec4949d90 added working transactions. still not atomic 2021-09-06 19:40:24 +02:00
krangelov 29557ae61e bugfix in the FFI for pgf_function_prob 2021-09-06 19:25:56 +02:00
krangelov 691d3389f7 bugfix in PgfDBUnmarshaller::dtyp 2021-09-06 19:16:26 +02:00
krangelov 9cea2cc70e change the API to allow different grammar revisions 2021-09-06 15:49:39 +02:00
krangelov 9a2d2b345d an unsafe API for adding functions to the grammar. breaks referential transparency 2021-09-04 07:10:04 +02:00
krangelov 55d30d70f5 added PgfDBUnmarshaller 2021-09-04 05:59:11 +02:00
krangelov b4838649f5 linear time loading of namespaces 2021-09-03 21:10:26 +02:00
krangelov 2e0c93c594 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-09-03 20:02:22 +02:00
krangelov 4c5aad5883 use reference counting to release the namespaces 2021-09-03 20:01:13 +02:00
krangelov fb2454767a add method "free" 2021-09-03 19:58:28 +02:00
krangelov 4655c2663a fix the memory allocator 2021-09-03 19:57:53 +02:00
krangelov 7f7fe59fc0 fix incorrect index 2021-09-03 19:55:02 +02:00
Krasimir Angelov 2daf9e2e19 Update abstract_expressions.md 2021-08-31 21:57:13 +02:00
Krasimir Angelov e03df47911 Update abstract_expressions.md 2021-08-31 21:56:15 +02:00
krangelov 6c06a9f295 readExpr needs an additional call to mask_ 2021-08-31 20:02:49 +02:00
krangelov 3c8e96c3cd fix lint in the C version of PgfUnmarshaller 2021-08-31 19:39:06 +02:00
krangelov 7b9f5144f9 functionsByCat now supports strings containing \0 2021-08-31 18:38:17 +02:00
Krasimir Angelov 6b359a6362 Update abstract_expressions.md 2021-08-31 13:01:04 +02:00
krangelov 4a0b1f2f67 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-08-31 10:21:45 +02:00
krangelov b1dd94e4b0 fix the testsuite failure after the second run 2021-08-31 10:20:51 +02:00
krangelov 5f5b0caba5 more the exception handling in a single place 2021-08-31 10:04:33 +02:00
krangelov 0bf7522291 expand the comment for PGF_EXN_OTHER_ERROR 2021-08-31 09:49:33 +02:00
krangelov a7321a2e5a Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-08-31 09:33:50 +02:00