diff --git a/playground/Main.snow b/playground/Demo1/Main.snow similarity index 100% rename from playground/Main.snow rename to playground/Demo1/Main.snow diff --git a/playground/Math.snow b/playground/Demo1/Math.snow similarity index 95% rename from playground/Math.snow rename to playground/Demo1/Math.snow index 161b7b2..bfe8605 100644 --- a/playground/Math.snow +++ b/playground/Demo1/Math.snow @@ -8,4 +8,4 @@ module: Math return n1+n2 end body end function -end module +end module \ No newline at end of file diff --git a/playground/Demo2/Main.snow b/playground/Demo2/Main.snow new file mode 100644 index 0000000..1b1833f --- /dev/null +++ b/playground/Demo2/Main.snow @@ -0,0 +1,9 @@ +module: Main + function: main + parameter: + return_type: int + body: + return (1+2) / 3 * 4 + 2 *2 + end body + end function +end module \ No newline at end of file