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 |
|
John J. Camilleri
|
678d244b21
|
Trying to complete Type marshaller, keep getting segfaults
|
2021-09-10 00:28:16 +02:00 |
|
John J. Camilleri
|
2f51c8471c
|
Fix conversion from PyUnicode to PgfText. Remove Python 2-style PyString macros.
|
2021-09-09 23:41:55 +02:00 |
|
John J. Camilleri
|
4739e3d779
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-09 20:42:07 +02:00 |
|
John J. Camilleri
|
8bc171d7a1
|
Remove int tag from ExprLitObject
|
2021-09-09 20:42:01 +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 |
|
John J. Camilleri
|
5eade6f111
|
Generalise error handling
|
2021-09-09 11:16:10 +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 |
|
John J. Camilleri
|
175349175a
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-09 09:34:13 +02:00 |
|
John J. Camilleri
|
1d0c4e7c39
|
Handle unmarshalling of large ints in Python bindings
|
2021-09-09 09:34:05 +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 |
|
John J. Camilleri
|
9739344ca6
|
Support (small, size = 1) negative integers
|
2021-09-08 17:25:10 +02:00 |
|
John J. Camilleri
|
3b1907cd8c
|
Add Expr and ExprLit types to Python bindings. Seem to work for readExpr.
|
2021-09-08 16:03:54 +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 |
|
John J. Camilleri
|
c9b7f8e5ee
|
Add exception object to parameters of updated function calls
|
2021-09-08 11:53:31 +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 |
|
John J. Camilleri
|
e6d8b76dbf
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
# Conflicts:
# src/runtime/python/pypgf.c
|
2021-09-06 23:52:30 +02:00 |
|
John J. Camilleri
|
5b96ede199
|
Work in progress with marshalling in Python bindings, trying to get Type_str to work without segfaulting
|
2021-09-06 23:49:53 +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 |
|
John J. Camilleri
|
b7cddf206b
|
First attempts at marshalling in Python bindings, not really sure what I'm doing
|
2021-09-06 15:32:18 +02:00 |
|
John J. Camilleri
|
d58c744361
|
Implement PGF_getStartCat in Python bindings
|
2021-09-06 14:15:28 +02:00 |
|
John J. Camilleri
|
a8efc61579
|
Working readType, functionType, unmarshaller for types (except exprs) in Python bindings
|
2021-09-06 14:06:57 +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 |
|