14 lines
No EOL
301 B
Bash
Executable file
14 lines
No EOL
301 B
Bash
Executable file
bison -d -t analyse_syntaxique.y -v
|
|
flex analyse_lexicale.lex
|
|
gcc -w *.c -ly
|
|
echo "
|
|
int main(){
|
|
const int toto = 1, mimi, lolo = 6;
|
|
int tata = 5, lala;
|
|
while (tata == 5){
|
|
printf(tata);
|
|
lala = lolo + 6;
|
|
}
|
|
return 1;
|
|
}
|
|
" | ./a.out |