Commit Graph

5 Commits

Author SHA1 Message Date
f12cc8a8ed hcc: remove not needed declerations and correct yyparse() value check
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-12-29 05:17:47 +03:00
a58e8316ec scanner: handle "=", ":", and ";"
Now can scan and parse a basic expression like:
		x : int = 5;
	Still do not know how to handle the AST

Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-12-29 05:06:25 +03:00
212ac9119d parser: correct syntax errors
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-12-29 05:05:57 +03:00
17d1dc7269 Makefile: restruct
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-12-29 05:05:17 +03:00
dfd72482ac init: it compiles, but idk what is happening 2023-12-25 18:18:28 +03:00