Commit graph

183 commits

Author SHA1 Message Date
herbglitch
280a70c6e8 moved doxygen to doc folder and still working on csv 2024-12-08 22:19:43 -07:00
herbglitch
ca6a9c118f working on csv data, parser works but needs more testing, might add bool to ParserData_DestroyFn callback for clearing 2024-12-04 02:43:58 -07:00
herbglitch
4c3d357cb9 fixed double free of vector and parserlang and creating a parser by string should work now 2024-12-04 00:54:24 -07:00
herbglitch
5a5eaabc14 parserlang now working 2024-12-03 18:21:28 -07:00
herbglitch
f0a20f2374 fixed constants in parserlang, still working on whitespace error 2024-12-02 23:01:42 -07:00
herbglitch
c9a06e50ca got tags parsing in parserlang, though constants are still borked 2024-12-02 18:34:19 -07:00
herbglitch
16821e8411 bout halfway complete with parserlang, also added userdata to parser 2024-12-02 02:34:01 -07:00
herbglitch
7cfea02681 merged with temp input update fix 2024-11-30 01:16:37 -07:00
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
a8c8324fac temp update to now close sdl windows on exit 2024-11-29 17:24:45 -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
2d70208978 merge 2024-11-12 13:07:40 -07:00
herbglitch
7554c6f385 copies tagOrtoken and frees it now 2024-11-12 13:07:23 -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
022ab6cfef partial parserlang stup 2024-11-04 19:58:09 -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
380e74a0e6 older lexer stuff 2024-10-16 17:35:38 -06:00
herbglitch
60acfd075a creation and destruction in parser, also added some stuff to gitingore 2024-10-16 05:14:53 -06:00
herbglitch
5842197142 added number checking to string 2024-10-11 03:57:32 -06:00
herbglitch
5de968688c testing working, and fixed memory leak in replace with substring function 2024-08-31 06:09:33 -06:00
herbglitch
4c0c5d377d basic vector complete but untested, added destroy callback to vector 2024-08-29 05:04:08 -06:00
herbglitch
6e814f12e6 working on lexer, and updated vector (still needs testing) 2024-08-28 20:04:18 -06:00
herbglitch
cdd6c3976b fixed after breaking everything with errno.h and vector.h changes, config still borked 2024-08-28 02:57:29 -06:00
herbglitch
93dc0fa053 updated vector to video version, will probably break a lot 2024-08-27 03:23:29 -06:00
herbglitch
c1e60a6d2f fixed append string 2024-08-22 04:27:37 -06:00
herbglitch
80331b5c34 added a way to create an empty string 2024-07-09 03:41:15 -06:00
herbglitch
7f0120f0c8 added a couple keys to console/key, and added append to string 2024-07-08 04:37:47 -06:00
herbglitch
3f5e631388 some basic changes to try to fix for the -Wpedantic flag 2024-06-16 02:49:23 -06:00
herbglitch
19d6120871 replacemnt functions in string, should be memory safe 2024-06-13 22:31:15 -06:00
herbglitch
4d7ba1cf4e added more cstring find and equals functions 2024-06-12 02:54:54 -06:00
herbglitch
f7a87d7519 f***ed up and needed to rework packages 2024-05-20 03:46:09 -06:00
herbglitch
b43ab1702f f***ed up and needed to rework packages 2024-05-20 03:46:04 -06:00
herbglitch
f4592ae8d0 fixed queue I think 2024-02-28 22:04:20 -07:00
herbglitch
d42f0f679e fixed up pushing to queue 2024-02-26 02:55:08 -07:00