summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/arithmetics.pipa3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/arithmetics.pipa b/examples/arithmetics.pipa
new file mode 100644
index 0000000..e2b7645
--- /dev/null
+++ b/examples/arithmetics.pipa
@@ -0,0 +1,3 @@
+main(): i32 {
+ return ((2 + 1) * (5 - 3) + 7) * 2 / 2;
+}