Commit graph

205 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
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
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
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
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
7bd7cc4aa5 temperary load in spritesheet from file 2024-09-03 03:55:17 -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
2df9f318a5 temp cmakelists.txt stuffs 2024-08-28 01:36:58 -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
f7c104e979 ssh now can return a string 2024-07-28 03:03:19 -06:00
herbglitch
ae11c5d0b8 added backslash to key 2024-07-27 03:47:38 -06:00
herbglitch
95c93e5d10 changed console key enum 2024-07-23 22:55:23 -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
d173f943ee fiddled around with ssh trying to get libssh stuff disowning but ended up removing most of what changed 2024-05-26 04:02:35 -06:00
herbglitch
5fd1c5b2a5 messeing around with libssh 2024-05-25 01:34:09 -06:00
herbglitch
7acd21695f f***ed up and needed to rework packages, added packages to master and merged 2024-05-20 03:51:16 -06:00
herbglitch
6f0dd1edda f***ed up and needed to rework packages, added packages to master and merged 2024-05-20 03:50:53 -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
herbglitch
0496473cf5 added find back cstring to ARC_String 2024-02-22 02:50:06 -07:00