Initial commit
This commit is contained in:
commit
541140687f
25 changed files with 4776 additions and 0 deletions
19
examples/arithmetics.ang
Normal file
19
examples/arithmetics.ang
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
write("Bonjour à tout!");
|
||||
|
||||
if 1 == 2 {
|
||||
# unreachable
|
||||
} else {
|
||||
write("Hooray! One does not equal 2!");
|
||||
}
|
||||
|
||||
for (var n = 1; n < 10; n = n + 1) {
|
||||
write("Run number " + str(n));
|
||||
}
|
||||
|
||||
var a = 2;
|
||||
|
||||
write(3 * a*a + 10 / 3);
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue