Krasimir Angelov
|
03fe38124f
|
Merge branch 'master' into majestic
|
2022-05-31 08:05:00 +02:00 |
|
Krasimir Angelov
|
fc09bc776b
|
transactions should always start with the last revision and release it when done
|
2022-05-23 19:50:41 +02:00 |
|
Krasimir Angelov
|
5594679a83
|
first draft of the new allocator with transactions support
|
2022-05-20 13:55:45 +02:00 |
|
Meng Weng Wong
|
b53a102c98
|
if this PR is accepted we don't need these instructions
|
2022-03-05 12:59:25 +08:00 |
|
Meng Weng Wong
|
bc14a56f83
|
"now try this" instructions for people flailing with Apple Silicon M1
|
2022-03-05 12:59:25 +08:00 |
|
krangelov
|
7bbdbbe917
|
update the testsuite for python
|
2021-12-09 10:00:31 +01:00 |
|
krangelov
|
06980404a9
|
correctly distinguish between fun and data judgements
|
2021-11-18 13:50:09 +01:00 |
|
krangelov
|
2acc4be306
|
better error control
|
2021-10-25 09:30:22 +02:00 |
|
krangelov
|
d1c25ce1c1
|
add INCREF in embed()
|
2021-10-22 09:52:36 +02:00 |
|
krangelov
|
bfc2ab27e6
|
fix reference counting
|
2021-10-22 09:42:01 +02:00 |
|
krangelov
|
3f742497e4
|
restore the embed function
|
2021-10-22 09:34:19 +02:00 |
|
krangelov
|
19338a8de1
|
fix typo
|
2021-10-22 09:20:38 +02:00 |
|
krangelov
|
2889581a45
|
writeToFile -> writePGF for consistancy with Haskell & C
|
2021-10-22 09:07:26 +02:00 |
|
krangelov
|
777adaedfc
|
fix the compilation
|
2021-10-22 09:04:28 +02:00 |
|
John J. Camilleri
|
42c1ec4448
|
Merge branch 'majestic' into majestic-macos
|
2021-10-18 14:27:30 +02:00 |
|
John J. Camilleri
|
61e95bcfeb
|
Fix compilation errors of Python bindings on macOS
|
2021-10-18 08:27:19 +02:00 |
|
krangelov
|
0e98c30973
|
fix space leak in PySequence_AsHypos. PyList_FromHypos->PyTuple_FromHypos
|
2021-10-16 21:12:16 +02:00 |
|
krangelov
|
0eb6e9f724
|
fix reference counting
|
2021-10-16 20:12:53 +02:00 |
|
krangelov
|
5e335a7df2
|
add unpack & __reduce_ex__ for backward compatibility
|
2021-10-16 19:57:47 +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
|
ca2f2bfd89
|
Change from ffi to ffi-napi since the former seems unsupported
This should also fix installation problem of node-gyp in CI
|
2021-10-05 01:02:02 +02:00 |
|
John J. Camilleri
|
1f72ef77c4
|
Add bootNGF. Organise tests better.
|
2021-10-04 15:07:23 +02:00 |
|
John J. Camilleri
|
ad0832903a
|
Add FreeHypos function. Remove old Python 2 preproc definition
|
2021-09-30 10:45:01 +02:00 |
|
John J. Camilleri
|
808e8db141
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-28 11:58:31 +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 |
|
krangelov
|
0771906206
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-28 11:13:58 +02:00 |
|
krangelov
|
fcad8dd3e2
|
no more space leaks
|
2021-09-28 11:13:45 +02:00 |
|
John J. Camilleri
|
388829d63d
|
Make hypos tuples again 😥
|
2021-09-28 10:35:19 +02:00 |
|
krangelov
|
5334174923
|
fix reference counting but valgrind says that there are more leaks
|
2021-09-27 20:24:57 +02:00 |
|
John J. Camilleri
|
8c3f9c8d73
|
Use PyBool instead of PyLong for bind_type
|
2021-09-27 15:37:33 +02:00 |
|
John J. Camilleri
|
7dafeee57b
|
Raise KeyError in prob functions for undefined functions/categories
|
2021-09-27 14:33:14 +02:00 |
|
John J. Camilleri
|
19251e5e61
|
Add exprProbability
|
2021-09-27 14:22:13 +02:00 |
|
John J. Camilleri
|
a7a20d72e7
|
Use preprocessing directive in module initialisation
|
2021-09-27 14:03:12 +02:00 |
|
krangelov
|
455fd07e12
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-27 13:46:49 +02:00 |
|
krangelov
|
6d234a7d7e
|
bugfix
|
2021-09-27 13:46:37 +02:00 |
|
John J. Camilleri
|
02d180ad88
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-27 13:33:52 +02:00 |
|
John J. Camilleri
|
8c04eed5c3
|
Add bindings for global/abstract flag functions
|
2021-09-27 13:33:34 +02:00 |
|
krangelov
|
6c2d180544
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-27 13:29:11 +02:00 |
|
krangelov
|
d1e6b78a45
|
overload ExprApp for backward compatibility
|
2021-09-27 13:28:53 +02:00 |
|
John J. Camilleri
|
6ce619c146
|
Solve the mystery of the segfaults when reading args in createCategory
it was a missing `&`
|
2021-09-27 11:51:58 +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
|
187ded6d3d
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-27 09:40:59 +02:00 |
|
John J. Camilleri
|
6f94957857
|
Make Hypo its own class instead of using tuples
|
2021-09-27 09:00:46 +02:00 |
|
krangelov
|
561862e1bd
|
restore Expr_unpack
|
2021-09-27 08:53:43 +02:00 |
|
krangelov
|
07c3f4b88a
|
fix Expr_visit
|
2021-09-27 07:27:44 +02:00 |
|
krangelov
|
4dcf43dbf3
|
make all members READONLY to avoid crashes later
|
2021-09-27 06:18:33 +02:00 |
|
krangelov
|
97ca7b112c
|
remove Expr_getsetters
|
2021-09-27 06:15:00 +02:00 |
|
krangelov
|
fbd0be2c3e
|
restore Expr_visit
|
2021-09-27 06:12:14 +02:00 |
|
krangelov
|
b12e8a6969
|
fix Expr_call
|
2021-09-27 05:30:00 +02:00 |
|
krangelov
|
809a02f3bc
|
added Expr_subclass_new
|
2021-09-26 22:54:09 +02:00 |
|