Commit Graph
100 Commits
Author SHA1 Message Date
Krasimir Angelov 62cad0f1ba make it possible to write grammars via a cookie in glibc 2023-09-04 16:20: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 1a17234a9c progress on the parser 2023-06-02 11:52:47 +02:00
Krasimir Angelov 58b1a9a535 added hashing for expressions 2023-05-31 09:15:33 +02:00
Krasimir Angelov bc0d7f8fd2 don't publish Python packages yet 2023-05-31 08:53:39 +02:00
Krasimir Angelov fb0f1db74d fix the pretty printer for expression states 2023-05-11 12:34:47 +02:00
Krasimir Angelov 8f1e7a908f fix another space leak 2023-05-11 08:45:03 +02:00
Krasimir Angelov 92cedfb479 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2023-05-11 05:54:30 +02:00
Krasimir Angelov 53e7cd5609 fix space leaks from the LR table maker 2023-05-11 05:53:58 +02:00
Krasimir Angelov 98165bd8b5 fix warnings detected by MSVC 2023-05-11 05:52:39 +02:00
Krasimir Angelov a514500bba try fixing the linkage error with MSVC 2023-05-11 05:28:11 +02:00
Krasimir Angelov 392f002124 int -> size_t to silence warnings with MSVC 2023-05-10 14:01:46 +02:00
Krasimir Angelov 18d995af52 enable the compilation with MSVC which doesn't define ssize_t 2023-05-10 13:32:11 +02:00
Krasimir Angelov 7eac9ea2ab first draft of an LR parser 2023-05-10 12:01:48 +02:00
Krasimir Angelov 54352b507a Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2023-05-09 09:49:31 +02:00
Krasimir Angelov aa090607d8 restore the priority after each pattern matching 2023-05-09 09:45:33 +02:00
Krasimir Angelov 028625988f remove incorrect optimization 2023-04-17 21:13:49 +02:00
Krasimir Angelov a8630ddcd2 fix: [] + "ser" == "ser" 2023-04-06 11:36:21 +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 95b916339d yet another detail with (+) 2023-03-30 12:05:44 +02:00
Krasimir Angelov 22c45d8d34 fix how (+) interacts with special tokens 2023-03-30 11:55:47 +02:00
Krasimir Angelov 848142b353 fix the signature for pgf_parse 2023-03-25 09:19:11 +01: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 eb104e162d for the memoisation to be effective we need a custom comparator 2023-03-18 10:35:14 +01:00
Krasimir Angelov f6d62c3d9b a refactoring to make it easier to use C++ closures 2023-03-18 10:16:18 +01:00
Krasimir Angelov edbfe25f87 try to fix the compilation with VC++ 2023-03-17 14:28:56 +01:00
Krasimir Angelov 8bda030854 respect the depth in the exhaustive generator 2023-03-17 11:38:13 +01:00
Krasimir Angelov 6c3a4f5dcd random generation always produces something if possible 2023-03-16 17:22:42 +01:00
Krasimir Angelov de5f027bde fix potential race condition 2023-03-15 17:09:25 +01:00
Krasimir Angelov 66e0511141 gr and gt now take into account the -lang flag 2023-03-14 18:58:37 +01:00
Krasimir Angelov 87b5c0da6c refactoring 2023-03-14 16:27:18 +01:00
Krasimir Angelov af7b504e36 allow the generation of literals under lambdas 2023-03-14 12:12:14 +01:00
Krasimir Angelov 9a0a730820 _Rb_tree doesn't exist on Windows and macOS. Go back to using map 2023-03-14 09:40:38 +01:00
Krasimir Angelov 92c2840b2b restore the depth flag for gt and gr 2023-03-13 14:01:14 +01:00
Krasimir Angelov ed45bf9ebd HOAS in exhaustive generation 2023-03-13 13:30:17 +01:00
Krasimir Angelov fc1b560eeb added exhaustive generation 2023-03-11 19:23:19 +01:00
Krasimir Angelov 23c0b322ce exhaustive generation without HOAS and depth limit 2023-03-11 19:20:54 +01:00
Krasimir Angelov 62d24b9431 the Haskell marshaller/unmarshaller are now statically allocated 2023-03-10 23:34:28 +01:00
Krasimir Angelov 4863ab0ec9 PGFs merging should update the probspace only once 2023-03-09 12:59:18 +01:00
Krasimir Angelov dfa2c7873b fix merge_pgf after the latest refactory 2023-03-08 19:21:18 +01:00
Krasimir Angelov 9dc36a0f5f added the "alter lin" command 2023-03-07 15:29:58 +01:00
Krasimir Angelov c7e988dacf added the generator files 2023-03-05 13:32:29 +01:00
Krasimir Angelov ee717fb022 added random generation 2023-03-05 13:18:14 +01:00
Krasimir Angelov 97bb8ae3f6 fix the parsing of large integers 2023-03-02 10:45:51 +01:00
Krasimir Angelov f7ca8afa81 fast word completion for functions names in the shell 2023-03-02 10:28:00 +01:00
Krasimir Angelov adc8a2fa29 fix space leak 2023-03-02 09:55:11 +01:00
Krasimir Angelov a9279511da fix tests 2023-03-02 09:51:41 +01:00
Krasimir Angelov aa5566f256 forgot to add probspace.(cxx|h) 2023-03-02 09:46:19 +01:00
Krasimir Angelov 8fc73b5d05 introduce probspace and maintain consistency after delete 2023-03-02 09:40:39 +01:00
Krasimir Angelov 23a5a3cdef another way to test for big numbers 2023-03-02 09:37:21 +01:00
Krasimir Angelov b8c9569f04 fix transaction accounting in pgf_boot_ngf & pgf_checkout_revision 2023-03-02 09:08:14 +01:00
Krasimir Angelov 91769c7ff2 if createConcrete/alterConcrete fail, report the error correctly 2023-03-01 15:24:30 +01:00
Krasimir Angelov c9a83e496c try fixing the artifact upload 2023-02-24 08:58:25 +01:00
Krasimir Angelov 56d8ecd240 fix the compilation without a server 2023-02-24 08:49:39 +01:00
Krasimir Angelov 6e12d7fee9 install happy & alex 2023-02-24 08:41:43 +01:00
Krasimir Angelov e879b374a7 remove duplicated module 2023-02-24 08:30:42 +01:00
Krasimir Angelov 963dd67c91 try building the compiler 2023-02-24 08:24:26 +01:00
Krasimir Angelov 9702d13059 try building the compiler 2023-02-24 08:15:40 +01:00
Krasimir Angelov 48fa373dc0 try building the compiler 2023-02-24 08:09:26 +01:00
Krasimir Angelov 4da2778776 skip Python 3.6 on macOS 2023-02-24 07:57:02 +01:00
Krasimir Angelov 1b2c8ce961 restored the word alignment API 2023-02-23 20:17:23 +01:00
Krasimir Angelov 57126f6d28 handle nonExist in parse the tree visualization and reclaim memory 2023-02-23 14:19:48 +01:00
Krasimir Angelov 9d330b6fb2 document case_sensitive 2023-02-23 10:30:31 +01:00
Krasimir Angelov f40072a5f4 pre now does case insensitive matching if case_sensitive=off is set 2023-02-23 10:21:50 +01:00
Krasimir Angelov 35e47b9fac robustness by reinitializing the locks if dead processes are found 2023-02-22 17:41:50 +01:00
Krasimir Angelov 476075246d bugfix 2023-02-16 18:53:46 +01:00
Krasimir Angelov 88faaa4e04 filter out results in linearize_all when there is a nonExist 2023-02-14 23:06:29 +01:00
Krasimir Angelov 310634bbe2 remove the import for Debug.Trace 2023-02-10 12:04:47 +01:00
Krasimir Angelov be951d9265 fix the compilation for parameters of type Ints n 2023-02-10 12:04:21 +01:00
Krasimir Angelov 810e529e41 another way to fix the one value parameter types 2023-02-10 10:52:09 +01:00
Krasimir Angelov 9bedcb038e ellimate parameters with only one possible value 2023-02-08 16:38:05 +01:00
Krasimir Angelov bd8e86214a file was closed twice 2023-02-05 10:16:20 +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 1e1719239a spotted more potential crashes 2023-01-29 13:44:32 +01:00
Krasimir Angelov 5551960698 fix typos 2023-01-29 13:05:41 +01:00
Krasimir Angelov 76ebf4d939 remap lseek to _lseeki64 on Windows 2023-01-29 13:04:52 +01:00
Krasimir Angelov 36ffc7747f fix the call to CreateFileMapping 2023-01-29 10:39:17 +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 0375f0f36d try --skip-existing 2023-01-27 17:17:52 +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 0e81dd7ada fix potential crashes in the reader.cxx 2023-01-27 15:07:31 +01:00
Krasimir Angelov e7cd5cd3f2 make the .ngf file read/write on Windows 2023-01-27 15:07:04 +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