Commit Graph

39 Commits

Author SHA1 Message Date
Krasimir Angelov ce63d4627b variables in rules are finally renamed 2026-01-14 16:42:04 +01:00
Krasimir Angelov a99cfb53f5 fix initialization in -O2 mode 2026-01-14 14:52:29 +01:00
Krasimir Angelov fbfb54c9b2 bugfix 2026-01-12 11:03:04 +01:00
Krasimir Angelov cb6bace896 Diophantine grammars in the runtime 2025-11-13 11:17:16 +01:00
Krasimir Angelov c519d4bfae switch to the new and nicer vector API 2024-08-28 11:20:45 +02:00
Krasimir Angelov 7eac9ea2ab first draft of an LR parser 2023-05-10 12:01:48 +02: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 a912da9b13 fix bracketed linearization for metavariables 2023-01-23 21:37:06 +01:00
Krasimir Angelov dae9009c86 report the right function in the bracket even if there is no lin 2023-01-16 13:33:02 +01:00
Krasimir Angelov 3e0cc91a02 first rudimentary version of a parser 2022-09-16 12:34:46 +02:00
Krasimir Angelov 743c473526 linearization for chunks 2022-08-19 16:37:56 +02:00
Krasimir Angelov edb9ff33c5 another fix for linearizeAll and undefined lins 2022-06-28 18:21:58 +02:00
Krasimir Angelov 635dc380a3 handle linref when the argument is an unknown function 2022-06-24 06:31:28 +02:00
Krasimir Angelov 663cca2d06 fix the resolution of linrefs 2022-06-23 14:52:47 +02:00
Krasimir Angelov 00f857559d restore the sharing of sequences. Shrinks the grammar by ~45% 2022-01-08 19:49:42 +01:00
krangelov 8cb0383864 fix in the variable resolution 2021-12-15 09:31:02 +01:00
krangelov 73c16504d2 added bracketedLinearizeAll 2021-12-10 10:30:25 +01:00
krangelov 494f4c8193 added linearizeAll 2021-12-10 09:13:45 +01:00
krangelov e413293657 tabularLinearize should continue after nonExist 2021-12-09 15:04:19 +01:00
krangelov b0d364f8e8 implement tabularLinearize 2021-12-09 09:51:09 +01:00
krangelov 09de911499 drop the symbol_meta method 2021-12-09 08:56:32 +01:00
krangelov 0069946f42 linearization for HOAS expressions 2021-12-09 08:45:53 +01:00
krangelov a7686cddde detect an attempt to linearize tree with partial application 2021-12-08 19:32:53 +01:00
krangelov 3f8642d0b9 linearize discontinuous categories with linref 2021-12-08 15:49:13 +01:00
krangelov ac3b654b6c handle functions without lin rules as well as meta variables 2021-12-08 12:00:53 +01:00
krangelov f71ba14f6a fix bracketed linearization for literals 2021-12-07 15:51:05 +01:00
krangelov 348963d13c flush the pre stack at the end of the linearization as well 2021-12-03 14:52:31 +01:00
krangelov d10f63c16b fix the ranges for brackets around pre 2021-12-03 13:55:29 +01:00
krangelov 0132a70b94 take into account the order in which CAPIT && ALL_CAPIT appears 2021-12-03 11:40:00 +01:00
krangelov df82e1e7ca complete the linearization of pre 2021-12-03 11:29:01 +01:00
krangelov baf78528d3 implement bracketedLinearize 2021-12-03 09:44:03 +01:00
krangelov dc344fccc0 detect failures to resolve linearization 2021-12-02 15:28:48 +01:00
krangelov 9ca68b1b4b support for Int,Float and String 2021-12-01 15:54:34 +01:00
krangelov 15c03816ea implemented nonExist 2021-12-01 14:10:34 +01:00
krangelov 7e1a2447c2 PgfSymbolLit is the same as PgfSymbolCat for the linearizer 2021-12-01 13:58:12 +01:00
krangelov 03a5353c08 implement CAPIT & ALL_CAPIT 2021-12-01 13:56:52 +01:00
krangelov 8e19b7d31c fix the memory leaks in the linearizer 2021-12-01 10:30:08 +01:00
krangelov 9ed74d7772 basic linearization is working 2021-11-30 17:54:36 +01:00
krangelov ae08d42d6e started the linearizer 2021-11-26 18:44:17 +01:00