Commit graph

16 commits

Author SHA1 Message Date
herbglitch
d69844dab1 still working on parser, plan to rework to parsing first, then calling struct creation callback after with vector of tokens and tags 2024-11-23 19:27:30 -07:00
herbglitch
fcc07493d3 added userdata void * for parser tag function callback 2024-11-20 13:50:52 -07:00
herbglitch
606f8e4bad parser working, needs more tests and an actual language to make sure that is true though 2024-11-20 10:27:17 -07:00
herbglitch
5c0fb00970 added some temporary debugging prints 2024-11-14 01:23:11 -07:00
herbglitch
fcc41aa576 fixed basic parse test, by updated lexer check index after successful recurse 2024-11-14 00:59:04 -07:00
herbglitch
5f34dbfeca now copying the language correctly, at least I hope 2024-11-14 00:07:56 -07:00
herbglitch
fa0f9cd820 working on parserlang 2024-11-12 10:36:35 -07:00
herbglitch
b702431c88 added parserlang though it is throwing error when it should be good in testing, need to fix 2024-11-06 06:45:04 -07:00
herbglitch
006b4c63f7 parser mostly fixed, still needs a lot more testing though, and need to store parsed values in a datatype 2024-11-01 04:39:45 -06:00
herbglitch
963b99c6bd updated to fix breaking recusrion when a good tag was found, it now segfaults though 2024-10-31 19:58:11 -06:00
herbglitch
58986021de parser clears lexer when done parsing 2024-10-30 18:41:01 -06:00
herbglitch
b10f9b9123 fixed a lot of the lexer and parser (the segfault, and now can do char ranges) 2024-10-30 07:36:43 -06:00
herbglitch
050f7a8452 segfault when testing parser 2024-10-28 21:00:48 -06:00
herbglitch
d8d1a1a107 added ability to check if token id is a lexer rule and wrote parser, still need to test 2024-10-24 19:56:26 -06:00
herbglitch
24fd8d6b25 working on parsing recursively 2024-10-16 23:46:16 -06:00
herbglitch
60acfd075a creation and destruction in parser, also added some stuff to gitingore 2024-10-16 05:14:53 -06:00