Implemented lexer

This commit is contained in:
Clemens-Dautermann 2020-08-15 23:36:29 +02:00
parent cb809bfd29
commit ea26acce4a
34 changed files with 641 additions and 0 deletions

View file

@ -0,0 +1,3 @@
int main() {
return 100;
}

View file

@ -0,0 +1,10 @@
int
main
(
)
{
return
0
;
}

View file

@ -0,0 +1 @@
int main(){return 0;}

View file

@ -0,0 +1,3 @@
int main() {
return 0;
}

View file

@ -0,0 +1,3 @@
int main() {
return 2;
}

View file

@ -0,0 +1 @@
int main ( ) { return 0 ; }