mirror of
https://github.com/LucasVbr/postscript-compiler.git
synced 2026-05-16 17:22:00 +00:00
feat(Parser and Lexer): Added Parser.mly and Lexer.mll
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user