From 16a5d8d6ac5267e43f80360ced4e99484479dde3 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 28 Jul 2025 09:56:09 +0800 Subject: [PATCH 01/42] =?UTF-8?q?test:=20=E6=B7=BB=E5=8A=A0=20Demo15=20?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/Demo/Demo15/Main.snow | 9 +++++++++ playground/Demo/Demo15/OS.snow | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 playground/Demo/Demo15/Main.snow create mode 100644 playground/Demo/Demo15/OS.snow diff --git a/playground/Demo/Demo15/Main.snow b/playground/Demo/Demo15/Main.snow new file mode 100644 index 0000000..7ef2b05 --- /dev/null +++ b/playground/Demo/Demo15/Main.snow @@ -0,0 +1,9 @@ +module: Main + import: os + function: main + return_type: void + body: + print(222) + end body + end function +end module \ No newline at end of file diff --git a/playground/Demo/Demo15/OS.snow b/playground/Demo/Demo15/OS.snow new file mode 100644 index 0000000..6026d43 --- /dev/null +++ b/playground/Demo/Demo15/OS.snow @@ -0,0 +1,11 @@ +module: os + import: os + function: print + parameter: + declare i1: int + return_type: void + body: + syscall("PRINT",i1) + end body + end function +end module \ No newline at end of file From 4081d7d9286fff3e935e0f288d2c6ba8c6476291 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 28 Jul 2025 10:00:30 +0800 Subject: [PATCH 02/42] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=A6=86=E7=9B=96=E7=8E=87=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .run/Bug1.run.xml | 6 ------ .run/Demo1.run.xml | 6 ------ .run/Demo10.run.xml | 6 ------ .run/Demo11.run.xml | 6 ------ .run/Demo12.run.xml | 6 ------ .run/Demo2.run.xml | 6 ------ .run/Demo3.run.xml | 6 ------ .run/Demo4.run.xml | 6 ------ .run/Demo5.run.xml | 6 ------ .run/Demo6.run.xml | 6 ------ .run/Demo7.run.xml | 6 ------ .run/Demo8.run.xml | 6 ------ .run/Demo9.run.xml | 6 ------ .run/Help.run.xml | 6 ------ .run/Version.run.xml | 6 ------ 15 files changed, 90 deletions(-) diff --git a/.run/Bug1.run.xml b/.run/Bug1.run.xml index f9c6da7..3c8e9ce 100644 --- a/.run/Bug1.run.xml +++ b/.run/Bug1.run.xml @@ -4,12 +4,6 @@