diff --git a/hello-world/Console/Hello.Mod b/hello-world/Console/Hello.Mod new file mode 100644 index 0000000..4d52e15 --- /dev/null +++ b/hello-world/Console/Hello.Mod @@ -0,0 +1,10 @@ +MODULE hello; + + +IMPORT Console; + + +BEGIN + Console.String("Hello World!"); + Console.Ln +END hello. diff --git a/hello-world/Console/Makefile b/hello-world/Console/Makefile new file mode 100644 index 0000000..5101869 --- /dev/null +++ b/hello-world/Console/Makefile @@ -0,0 +1,10 @@ +VOC = /opt/voc/bin/voc + +all: + $(VOC) -m Hello.Mod + +clean: + rm *.c + rm *.h + rm *.o + rm *.sym diff --git a/hello-world/Out/Hello.Mod b/hello-world/Out/Hello.Mod new file mode 100644 index 0000000..8532f42 --- /dev/null +++ b/hello-world/Out/Hello.Mod @@ -0,0 +1,9 @@ +MODULE hello; + + +IMPORT Out; + + +BEGIN + Out.String("Hello, World"); Out.Ln +END hello. diff --git a/hello-world/Out/Makefile b/hello-world/Out/Makefile new file mode 100644 index 0000000..5101869 --- /dev/null +++ b/hello-world/Out/Makefile @@ -0,0 +1,10 @@ +VOC = /opt/voc/bin/voc + +all: + $(VOC) -m Hello.Mod + +clean: + rm *.c + rm *.h + rm *.o + rm *.sym