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 |
|
John J. Camilleri
|
d53b7587f5
|
Fill in literal cases in Python unmarshaller (untested)
|
2021-09-03 15:26:10 +02:00 |
|
John J. Camilleri
|
3ecb937753
|
Start work on marshalling in Python bindings
|
2021-09-03 14:14:47 +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 |
|
John J. Camilleri
|
8061a9e82a
|
Replace uses of PyUnicode_FromString with PyUnicode_FromStringAndSize
See https://github.com/GrammaticalFramework/gf-core/issues/130#issuecomment-908979886
|
2021-08-31 10:12:27 +02:00 |
|
John J. Camilleri
|
901c3f9086
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-08-31 10:07:55 +02:00 |
|
John J. Camilleri
|
32f6691024
|
Update error handling in Python bindings, using the new PGF_EXN_OTHER_ERROR
|
2021-08-31 10:07:42 +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 |
|
krangelov
|
e0288f46dc
|
the namespace iterator now takes a PgfExn parameter like in the old runtime
|
2021-08-31 09:31:06 +02:00 |
|
John J. Camilleri
|
02dc4e83c5
|
Remove commented-out error-handling code
See https://github.com/GrammaticalFramework/gf-core/issues/130#issuecomment-908937688
|
2021-08-31 09:16:16 +02:00 |
|
John J. Camilleri
|
aecaa422ec
|
Add getFunctionsByCat to Python bindings
|
2021-08-30 23:25:18 +02:00 |
|
John J. Camilleri
|
b7bd5a4561
|
Add getCategories and getFunctions to Python bindings, but don't know how to handle errors?
|
2021-08-30 22:26:22 +02:00 |
|
John J. Camilleri
|
50e54d131b
|
Add abstractName getter to Python bindings. Use line comments (//) to make navigating code easier.
|
2021-08-30 15:03:54 +02:00 |
|
John J. Camilleri
|
ff30169cbf
|
Update CI workflow with new Python test command
|
2021-08-30 13:46:34 +02:00 |
|
John J. Camilleri
|
3e4f2ba1a0
|
Use pytest for Python bindings test suite
|
2021-08-30 13:31:27 +02:00 |
|
John J. Camilleri
|
239fd02249
|
Add more test cases for read/boot failures, those which incorrectly fail are commented out
|
2021-08-30 13:22:49 +02:00 |
|
John J. Camilleri
|
ad4600b5c4
|
Add bootNGF and readNGF to Python bindings
|
2021-08-30 10:38:10 +02:00 |
|
John J. Camilleri
|
5c5e26cc8d
|
Test bootNGF and readNGF too, run tests on all three PGFs
|
2021-08-30 09:45:02 +02:00 |
|
Krasimir Angelov
|
f25b518186
|
Update abstract_expressions.md
|
2021-08-27 18:25:46 +02:00 |
|
krangelov
|
e9ec4cef67
|
fill in more gaps in the API
|
2021-08-27 15:05:42 +02:00 |
|
krangelov
|
3e7d80bf30
|
reading & showing unicode identifiers
|
2021-08-27 14:44:42 +02:00 |
|
krangelov
|
41ef5f9539
|
textdup is now safe in case of memory overflow
|
2021-08-27 13:03:11 +02:00 |
|
krangelov
|
5271ddd10b
|
PgfPrinter::nprintf dynamically reallocates the printing buffer if needed
|
2021-08-27 11:57:58 +02:00 |
|
krangelov
|
8195f8b0cb
|
support for unbounded integers
|
2021-08-27 11:31:10 +02:00 |
|
krangelov
|
684f85ff94
|
hide PgfDBMarshaller
|
2021-08-26 19:49:27 +02:00 |
|
krangelov
|
a00a7f4ba5
|
elaborate the comment about marshallers and unmarshallers
|
2021-08-26 18:01:25 +02:00 |
|
Krasimir Angelov
|
5982dbc146
|
Update README.md
|
2021-08-26 17:38:58 +02:00 |
|
Krasimir Angelov
|
9b2813f48a
|
Create abstract_expressions.md
|
2021-08-26 17:38:28 +02:00 |
|
krangelov
|
b28e891a6b
|
a type annotated version of marshaller/unmarshaller
|
2021-08-26 17:27:34 +02:00 |
|
krangelov
|
59e54482a3
|
added PgfDBMarshaller
|
2021-08-26 16:36:37 +02:00 |
|
krangelov
|
69f74944e2
|
The unmarshaller is no longer stored in the PGF object but is passed explicitly to each function that needs it.
|
2021-08-26 16:14:56 +02:00 |
|
krangelov
|
0d9f2994a0
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-08-26 15:46:41 +02:00 |
|
krangelov
|
275addfcbe
|
pretty printing for expressions and types
|
2021-08-26 15:46:16 +02:00 |
|
John J. Camilleri
|
03f02ae5d2
|
A bunch of superficial changes to the docs after reading through them carefully again
|
2021-08-24 11:27:10 +02:00 |
|