feat(Parser and Lexer): Added Parser.mly and Lexer.mll

This commit is contained in:
Laurian-Dufrechou
2023-04-06 22:59:20 +02:00
parent a18db587ef
commit add79589f0
4 changed files with 373 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
void main (string y, int x) {
x = 15;
while (x < 20) {
x = x + 1;
y = "hello";
if (x == 17) {
y = "world";
}
/* */
}
return x;
}