Commit graph

57 commits

Author SHA1 Message Date
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
16821e8411 bout halfway complete with parserlang, also added userdata to parser 2024-12-02 02:34:01 -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
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
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
9221d1e33e partial parserlang stup 2024-11-04 19:58:23 -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
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
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
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
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
0496473cf5 added find back cstring to ARC_String 2024-02-22 02:50:06 -07:00
herbglitch
314f490bef basic queue written, still need to test 2024-02-08 03:12:37 -07:00
herbglitch
c3b4a4e209 added stack datatype to std 2024-02-08 02:48:14 -07:00
herbglitch
875b69c407 added stack datatype to std 2024-02-08 02:48:08 -07:00
herbglitch
7b9bdf0f92 read in bytes 2024-01-27 03:14:04 -07:00
herbglitch
7dc58b60a6 write with io 2024-01-23 21:16:43 -07:00
herbglitch
af9a1f1040 fixed string class so parameters that can be stored to will allways be the first parameter, might have broken everything, need to test 2024-01-16 23:58:31 -07:00
herbglitch
d64340525a added a few functions to string and added some logs to string 2024-01-15 02:14:35 -07:00
herbglitch
85d0bad350 huge redesign 2024-01-12 19:48:06 -07:00
herbglitch
7146ca7765 removed flags for default config, removed string.c 330 vscode worning 2023-08-22 04:08:53 +00:00
herbglitch
533541b852 changed array size to no longer be a pointer, need to check every file that references array to hopefully not have broken anything 2023-07-07 00:58:23 -06:00
herbglitch
3565a5cf15 updated rect class and added some documentation 2023-06-23 23:07:39 -06:00
herbglitch
9d199d08dd added some temp keyboard, and added string[] for config 2023-04-04 16:29:37 -06:00
herbglitch
5badf331fd added extern c to most files 2023-01-30 23:22:34 -07:00
herbglitch
5e6ee54473 most config fixed, still need to do a bunch more testing 2023-01-20 22:38:29 -07:00
herbglitch
f8d987da8e config and string reworked, hashtable updated to use arc_errno 2023-01-17 01:59:08 -07:00
herbglitch
d4731d3961 string arrays and started work on ecs 2022-12-19 23:16:17 -07:00