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 |
|
herbglitch
|
0496473cf5
|
added find back cstring to ARC_String
|
2024-02-22 02:50:06 -07:00 |
|
herbglitch
|
b4eaee5242
|
added a few error checks to stack and queue, need to test
|
2024-02-08 03:17:04 -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
|
c614c679a9
|
huge core redesign
|
2024-01-12 19:48:17 -07:00 |
|