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