Préparation pour test intermediaire
- Analyseur lexical OK - Analyseur syntaxyque OK
This commit is contained in:
11
test/input/boucle.l
Normal file
11
test/input/boucle.l
Normal file
@@ -0,0 +1,11 @@
|
||||
entier $i, entier $carre;
|
||||
main()
|
||||
{
|
||||
$i = 0;
|
||||
tantque $i < 10 faire
|
||||
{
|
||||
$carre = $i * $i;
|
||||
ecrire( $carre );
|
||||
$i = $i + 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user