From 8f8bb8f918a175e1b466c98abcf0dde87e93b21f Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sun, 24 Mar 2024 14:20:36 +0100 Subject: [PATCH] Sample program. --- src/main/resources/gombaila/simple.gb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/resources/gombaila/simple.gb b/src/main/resources/gombaila/simple.gb index e69de29..9388127 100644 --- a/src/main/resources/gombaila/simple.gb +++ b/src/main/resources/gombaila/simple.gb @@ -0,0 +1,9 @@ +// Program with comment +let x = 12; +let y = 2 * x; +y = y - 1; +if (y) { + exit (y); +} else { + exit (x); +}