Commit Graph

327 Commits

Author SHA1 Message Date
Krasimir Angelov
876e3c734a added Graphviz visualizations 2024-04-15 09:19:11 +02:00
Krasimir Angelov
2f7c65c207 update the testsuite 2024-04-11 10:48:44 +02:00
Krasimir Angelov
c94d0f31bc now we can load PGF files as precompiled modules 2024-01-30 13:02:40 +01:00
Krasimir Angelov
282c6fc50f bump the version number since the update in the C runtime 2024-01-18 12:31:11 +01:00
Krasimir Angelov
0a8e287948 fix a type error detected on macOS 2024-01-12 19:18:16 +01:00
Krasimir Angelov
73b4b68460 expose the random generation API 2024-01-12 19:08:58 +01:00
Krasimir Angelov
5de4d9dd5c trigger a new uppload to PyPI 2023-09-18 14:20:09 +02:00
Krasimir Angelov
2df5538084 rename the python package to pgf-majestic and uppload to PyPI 2023-09-10 18:30:19 +02:00
Krasimir Angelov
349c5b82ad fix compilation on Windows 2023-09-07 10:24:42 +02:00
Krasimir Angelov
b265249fe9 don't use PyObject_CallOneArg for compatibility with old Python 2023-09-07 10:17:00 +02:00
Krasimir Angelov
f1af1c8be4 make it possible to bootstrap an .ngf from a cookie 2023-09-07 10:07:49 +02:00
Krasimir Angelov
9a6d5a99bf partial implementation for deserialization with daison 2023-09-01 11:56:23 +02:00
Krasimir Angelov
034fe569c4 added hasLinearization 2023-08-31 22:05:02 +02:00
Krasimir Angelov
a33f64d236 added lookupMorpho 2023-08-31 19:51:51 +02:00
Krasimir Angelov
e0c820be17 update checkoutBranch 2023-08-26 07:58:12 +02:00
Krasimir Angelov
d1e9454dfa add documentation and type information for VS Code 2023-08-25 18:10:30 +02:00
Krasimir Angelov
7c93a594e0 fix an out of date comment 2023-08-25 18:09:47 +02:00
Krasimir Angelov
22c41367ec fix typo 2023-08-25 18:09:16 +02:00
Krasimir Angelov
58b1a9a535 added hashing for expressions 2023-05-31 09:15:33 +02:00
Krasimir Angelov
98165bd8b5 fix warnings detected by MSVC 2023-05-11 05:52:39 +02:00
Krasimir Angelov
4d83be454f second bump 2023-03-31 10:52:51 +02:00
Krasimir Angelov
7a54889d14 bump the version 2023-03-31 10:41:16 +02:00
Krasimir Angelov
51be26a3fe yet another windows fix 2023-03-24 13:22:40 +01:00
Krasimir Angelov
2465abd7c7 the PGF finder should be last not first 2023-03-24 13:20:00 +01:00
Krasimir Angelov
3b4729f3db another windows fix 2023-03-24 13:04:58 +01:00
Krasimir Angelov
973807247b fix the compilatin with VC++ 2023-03-24 12:57:00 +01:00
Krasimir Angelov
beef722f2c .ngf files should have priority when importing a grammar module 2023-03-24 12:43:05 +01:00
Krasimir Angelov
5d205a06e8 a custom module finder makes it possible to load grammars directly 2023-03-24 12:32:07 +01:00
Krasimir Angelov
a9279511da fix tests 2023-03-02 09:51:41 +01:00
Krasimir Angelov
6d856b2ce0 make it possible to control the initial NGF size 2023-01-29 21:04:08 +01:00
Krasimir Angelov
8ee624bc68 bump version 2023-01-29 14:01:51 +01:00
Krasimir Angelov
8fca37cfeb writePGF now allows to select list of languages 2023-01-28 11:59:39 +01:00
Krasimir Angelov
471adbf63a bump the python version 2023-01-27 18:19:36 +01: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
a2df7ed2a6 another fix 2023-01-27 10:44:51 +01:00
Krasimir Angelov
2d2af272a7 fix compilation 2023-01-27 10:28:01 +01:00
Krasimir Angelov
057cb7a3a6 fix the marshaller as well 2023-01-27 09:40:43 +01:00
Krasimir Angelov
660dd95cf2 fix the marshaller for integers on Windows 2023-01-27 09:31:25 +01:00
Krasimir Angelov
8cac0610f8 make tests executable from a different path 2023-01-26 09:44:36 +01:00
Krasimir Angelov
69c70694aa define COMPILING_STATIC_PGF for MSVC 2023-01-26 08:20:14 +01:00
Krasimir Angelov
e689a35ee5 setup the include directory for MSVC 2023-01-26 00:22:04 +01:00
Krasimir Angelov
e4cc9bc0a7 bugfix 2023-01-25 20:59:06 +01:00
Krasimir Angelov
1ca1828fef on Windows link the C runtime statically into the Python binding 2023-01-25 20:50:32 +01:00
Krasimir Angelov
82683bd1a5 redefine alloca as _alloca for VC++ 2023-01-25 20:32:12 +01:00
Krasimir Angelov
3bc492ec69 use alloca for compatibility with VC++ 2023-01-25 20:20:32 +01:00
Krasimir Angelov
00a44f30ef suppress flags when building on Windows 2023-01-25 19:32:21 +01:00
Krasimir Angelov
ea66124317 try with python 3.8 2023-01-25 11:16:40 +01:00
Krasimir Angelov
4abad5e2fc register pgf_EmbeddedGrammarType only for python > 3.6 2023-01-25 10:54:50 +01:00
Krasimir Angelov
b652163b0a fallback to linear time embedding for python 3.6 2023-01-25 10:44:01 +01:00