herbglitch
|
84c4dffc85
|
parser fixed (still probably needs more testing, but current tests work), parserlang still not working
|
2024-11-30 01:14:55 -07:00 |
|
herbglitch
|
6d64a17b1d
|
temporarly fixed parser to not error on compile (still not fixed)
|
2024-11-29 14:59:19 -07:00 |
|
herbglitch
|
68c2fc7afb
|
testing some ideas for the parser
|
2024-11-29 13:38:32 -07:00 |
|
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
|
63dfb98aad
|
hopefully fixed parsing to now match the languages, had to increase the temp lexer index instead of the index itself
|
2024-11-15 04:45:06 -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
|
7554c6f385
|
copies tagOrtoken and frees it now
|
2024-11-12 13:07:23 -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
|
7a3495f7ae
|
a bit more work on parser, pushing to work on it at school
|
2024-10-21 13:36:45 -06:00 |
|
herbglitch
|
24fd8d6b25
|
working on parsing recursively
|
2024-10-16 23:46:16 -06:00 |
|
herbglitch
|
e4aa4a8b6d
|
merged with old parser stuff, and worked on parser a bit more
|
2024-10-16 18:00:52 -06:00 |
|
herbglitch
|
60acfd075a
|
creation and destruction in parser, also added some stuff to gitingore
|
2024-10-16 05:14:53 -06:00 |
|
herbglitch
|
93dc0fa053
|
updated vector to video version, will probably break a lot
|
2024-08-27 03:23:29 -06:00 |
|