Commit Graph

7859 Commits

Author SHA1 Message Date
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
John J. Camilleri
fdaf19a5d4 Bump version of Python bindings 2021-08-24 10:04:07 +02:00
John J. Camilleri
91adc09b1f Define LD_LIBRARY_PATH when running Python tests 2021-08-24 09:09:30 +02:00
John J. Camilleri
beab2ad899 Update Python instructions, add simple testsuite (which fails with segmentation fault) 2021-08-24 09:05:16 +02:00
krangelov
07bda06fb2 missed a line 2021-08-14 21:16:20 +02:00
krangelov
d28c5a0377 a hopefully better error management in the marshaller 2021-08-14 21:13:31 +02:00
krangelov
8b8028bdfe free_ref & free_me in PgfMarshaller too 2021-08-14 20:08:04 +02:00
krangelov
9db352b2bb bugfix 2021-08-14 18:51:16 +02:00
krangelov
b627d4ceb0 fix typo 2021-08-13 20:33:00 +02:00
krangelov
0296f07651 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2021-08-13 19:29:39 +02:00
krangelov
6beac74265 a draft for the marshaller. still not in use 2021-08-13 19:25:12 +02:00
krangelov
221f0b7853 PgfUnmarshaller now mimics a C++ class. Allows for keeping state 2021-08-13 18:14:56 +02:00
John J. Camilleri
4fd70bc445 Add basic installation instructions 2021-08-13 10:47:06 +02:00
John J. Camilleri
9e5823c350 Tweak base upper bound in pgf2.cabal 2021-08-13 10:28:44 +02:00
John J. Camilleri
2346abeedb Tweaks to pgf2.cabal 2021-08-13 10:25:16 +02:00
John J. Camilleri
3e7926f22d Update pgf2.cabal, including bumping version to 2.0.0 2021-08-13 10:20:49 +02:00
John J. Camilleri
f35dff7c66 Add LD_LIBRARY_PATH to cabal test step 2021-08-13 10:04:21 +02:00
John J. Camilleri
1749908f6c Add --extra-lib-dirs to cabal command 2021-08-13 09:58:31 +02:00
John J. Camilleri
d8e1e2c37d Add sudo to make install 2021-08-13 09:53:17 +02:00
John J. Camilleri
8877243701 Add tests to CI 2021-08-13 09:51:10 +02:00
krangelov
08bcd2f0b5 silence warnings 2021-08-13 08:28:30 +02:00
krangelov
1bc0cfd025 accidentally commited a wrong version of expr.cxx 2021-08-13 08:26:18 +02:00
krangelov
21044264fa forgot adding expr.cxx 2021-08-13 08:12:03 +02:00
krangelov
2a8d4232ce Fun -> Cat 2021-08-12 14:45:49 +02:00
krangelov
352dedc26f forgot releasing a stable pointer 2021-08-12 14:45:05 +02:00
krangelov
7e35db47a6 export PGFError 2021-08-12 14:41:50 +02:00
krangelov
edba4fda32 test that we can handle loading failures 2021-08-12 14:23:20 +02:00
krangelov
a8403d48fa the unmarshaller should not be disposed twice in case of error 2021-08-12 14:16:19 +02:00
krangelov
3578355bd0 fix computing the size of the mapped area 2021-08-12 14:04:35 +02:00