From c09c8845fb94cb57a9cf133754a7b08a89a9e18f Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 11 Jun 2025 09:52:11 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E7=A7=BB=E5=8A=A8=E5=92=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BE=8B=E5=AD=90=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/{ => Demo1}/Main.snow | 0 playground/{ => Demo1}/Math.snow | 2 +- playground/Demo2/Main.snow | 9 +++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) rename playground/{ => Demo1}/Main.snow (100%) rename playground/{ => Demo1}/Math.snow (95%) create mode 100644 playground/Demo2/Main.snow 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