Commit graph

19 commits

Author SHA1 Message Date
icst
02266b4dea c-hdr-parser: add header open and syntax validation checks 2024-07-07 22:28:22 -04:00
icst
159c172082 c-hdr-parser: add pwd include; delete garbage code; fix static function parse bug 2024-07-07 19:04:37 -04:00
icst
a78935e012 wip ast structure 2024-07-06 13:22:56 -04:00
icst
0b7c154dc8 c-hdr-parser: handle enums 2024-07-01 23:20:55 -04:00
icst
dbcbfeeab5 c-hdr-parser: handle function pointers better 2024-06-29 21:59:11 -04:00
icst
87b023b9be c-hdr-parser: handle type only func arg decls 2024-06-29 15:46:32 -04:00
icst
0e5dcf57d2 c-hdr-parser: fix issue for single argument functions 2024-06-29 12:21:38 -04:00
icst
c4f47f11e5 in wip c header parser: parse function decls into the same form as structs 2024-06-28 22:03:37 -04:00
icst
be69ebfaf5 wip system c header parser 2024-06-27 22:36:30 -04:00
icst
d8c36904b6 cleanup tokens correctly 2024-06-21 21:32:48 -04:00
icst
75a98858cd add nothing makefile for the hell of it 2024-06-21 20:58:37 -04:00
icst
2f519337c9 I should use : in function definitions instead since -> has higher priority and thus will conflict with using a comptime function RHS in the future 2024-06-21 20:39:59 -04:00
icst
ab8568dcb1 Pass indication of an error back up to avoid confusing EOFs and errors in some corner cases 2024-06-21 20:21:42 -04:00
icst
0ab9807349 make error messages a little less idoitic 2024-06-21 20:03:59 -04:00
icst
07c5f2fc15 add [] and ... operators 2024-06-20 23:40:41 -04:00
icst
f6fb1a3cb5 add support for statement lists (so that e.g. conditionals and function bodies can be defined) 2024-06-18 00:00:26 -04:00
icst
f5db5076db finish expr parse function; cleanup allocs and error handling 2024-06-17 21:57:42 -04:00
icst
4c17bf96bf allow expressions to be terminated with unescaped newlines or ';' 2024-06-17 20:32:58 -04:00
isct
6cf9296ac6 wip crude syntax parser for custom language; name is temp only 2024-06-17 18:56:26 -04:00