1
0
forked from GitHub/gf-core
Commit Graph

17 Commits

Author SHA1 Message Date
Krasimir Angelov
2f7c65c207 update the testsuite 2024-04-11 10:48:44 +02:00
Krasimir Angelov
cd3372de35 remove basic.ngf when starting test since on Windows we cannot remove files that are still open 2023-01-27 17:01:34 +01:00
Krasimir Angelov
1e3eb44843 explicitly close the file before removal 2023-01-27 16:00:29 +01:00
Krasimir Angelov
8cac0610f8 make tests executable from a different path 2023-01-26 09:44:36 +01:00
krangelov
7bbdbbe917 update the testsuite for python 2021-12-09 10:00:31 +01:00
krangelov
2889581a45 writeToFile -> writePGF for consistancy with Haskell & C 2021-10-22 09:07:26 +02:00
krangelov
0e98c30973 fix space leak in PySequence_AsHypos. PyList_FromHypos->PyTuple_FromHypos 2021-10-16 21:12:16 +02:00
krangelov
382456415e overload pgf.Type for backward compatibility and support for dependent and simple types 2021-10-16 19:50:01 +02:00
John J. Camilleri
1f72ef77c4 Add bootNGF. Organise tests better. 2021-10-04 15:07:23 +02:00
John J. Camilleri
16eb5f1a89 Type initialiser accepts sequences, stores internally as tuples. Add tests which try to break things. 2021-09-28 11:58:22 +02:00
John J. Camilleri
388829d63d Make hypos tuples again 😥 2021-09-28 10:35:19 +02:00
John J. Camilleri
2deae9d402 Add PGF.writeToFile. Add categoryProbability, but it seems pgf_category_prob always returns 0. 2021-09-27 11:37:52 +02:00
John J. Camilleri
6f94957857 Make Hypo its own class instead of using tuples 2021-09-27 09:00:46 +02:00
John J. Camilleri
1fce5144f8 Rename fields to match those in runtime. Use tp_members instead of tp_getattro for getters. 2021-09-26 15:14:04 +02:00
John J. Camilleri
a2e4e74644 Add getters for Type and Expr attributes, with tests 2021-09-24 16:10:48 +02:00
John J. Camilleri
6edf7e6405 Add Transaction type to Python bindings, get first tests working. 2021-09-21 14:55:20 +02:00
John J. Camilleri
7dba3465d0 Refactor modules in Python bindings. Start work on grammar-update functions, but without transactions. 2021-09-20 23:42:50 +02:00