Adding most operators

This commit is contained in:
Anthony Debucquoy
2025-03-20 13:27:57 +01:00
parent 4db6081fc8
commit 5d21e611f0
6 changed files with 126 additions and 28 deletions

17
examples/arithmetic.spf Normal file
View File

@ -0,0 +1,17 @@
# entier x = 3;
# entier y = 4;
#
liste l = [3, 4, 5];
ajouter 3 dans l;
afficher l;
#
# afficher x vaut y;
# afficher x ne vaut pas y;
# entier z;
# afficher taille "test";
# afficher x + 3, 3 + y;
# x = -x;
# afficher x;