krangelov
|
8d075b1d57
|
move the runtime documentation to the main doc folder
|
2021-10-11 08:59:28 +02:00 |
|
John J. Camilleri
|
0e011955be
|
Add tests for reading & equality of various expressions
|
2021-10-08 15:06:34 +02:00 |
|
John J. Camilleri
|
71536e8e37
|
Handle errors in readExpr
|
2021-10-08 12:54:36 +02:00 |
|
John J. Camilleri
|
a27cf6a17b
|
Implement all Expr unmarshalling (untested). Put wordsize logic in constants.ts. Some README additions.
|
2021-10-08 12:39:42 +02:00 |
|
krangelov
|
6a9254816d
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-10-08 11:53:42 +02:00 |
|
krangelov
|
98f42051b1
|
first steps towards PMCFG generation
|
2021-10-08 11:53:07 +02:00 |
|
John J. Camilleri
|
dae39d8b10
|
Remove 'only' from test suite
|
2021-10-08 08:54:28 +02:00 |
|
John J. Camilleri
|
0d43ec8971
|
Unmarshalling for floats and strings, but strings crashes after multiple invocations
|
2021-10-07 23:25:25 +02:00 |
|
John J. Camilleri
|
16ee006735
|
Add stubs for all un/marshalling functions. Refactoring.
|
2021-10-07 15:58:59 +02:00 |
|
John J. Camilleri
|
db0cbf60cb
|
Support big and negative integers
|
2021-10-07 15:07:14 +02:00 |
|
John J. Camilleri
|
db66144c25
|
Get marshalling of integers working
|
2021-10-07 12:54:02 +02:00 |
|
John J. Camilleri
|
1b3a197aac
|
JavaScript unmarshalling WIP
|
2021-10-05 15:33:19 +02:00 |
|
John J. Camilleri
|
b7e7319542
|
Switch to 'standard' linting
|
2021-10-05 13:56:41 +02:00 |
|
John J. Camilleri
|
869c5d094b
|
Implement categoryProbability, functionProbability, functionIsConstructor, functionsByCategory
|
2021-10-05 13:39:51 +02:00 |
|
krangelov
|
3c5741c846
|
fix in str_char
|
2021-10-05 13:36:21 +02:00 |
|
John J. Camilleri
|
c1adbedc25
|
Implement bootNGF, readNGF, PgfText_FromString
|
2021-10-05 11:57:24 +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
|
634508eaa8
|
Add linting
|
2021-10-04 15:26:50 +02:00 |
|
John J. Camilleri
|
1f72ef77c4
|
Add bootNGF. Organise tests better.
|
2021-10-04 15:07:23 +02:00 |
|
John J. Camilleri
|
7551926383
|
Add FFI bindings for all API functions. Implement getCategories and getFunctions
|
2021-10-04 14:15:35 +02:00 |
|
John J. Camilleri
|
45db11b669
|
Add proper tests, exception handling, implement getAbstractName
|
2021-10-04 12:10:29 +02:00 |
|
John J. Camilleri
|
314db3ea7f
|
Beginnings of JavaScript bindings
|
2021-10-01 12:47:39 +02:00 |
|
krangelov
|
e6960e30f6
|
fix the estimation of the character size in PgfExprParser::putc
|
2021-10-01 12:22:15 +02:00 |
|
krangelov
|
c21627950a
|
remove the accidentally added debug messages
|
2021-10-01 12:01:05 +02:00 |
|
krangelov
|
0708f6e0cc
|
when at EOF don't try to read further
|
2021-10-01 11:57:31 +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 |
|
krangelov
|
67f83ebf8a
|
don't add_ref if the revision doesn't exist
|
2021-09-28 11:12:12 +02:00 |
|
John J. Camilleri
|
388829d63d
|
Make hypos tuples again 😥
|
2021-09-28 10:35:19 +02:00 |
|
krangelov
|
9863f32d05
|
fix a memory leak
|
2021-09-28 09:53:40 +02:00 |
|
krangelov
|
5334174923
|
fix reference counting but valgrind says that there are more leaks
|
2021-09-27 20:24:57 +02:00 |
|
krangelov
|
2b725861fb
|
mark 10000000000000000000 as UL
|
2021-09-27 19:47:24 +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 |
|
krangelov
|
af45e96108
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-27 14:12:24 +02:00 |
|
krangelov
|
38de1bf924
|
pgf_category_prob should return INFINITY for non-existant categories
|
2021-09-27 14:11:52 +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 |
|