hello-world

This commit is contained in:
antranigv 2017-06-01 18:45:00 +04:00
parent 840a24f3a7
commit c78b89c825
No known key found for this signature in database
GPG key ID: 60686B14DAB81456
4 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,10 @@
MODULE hello;
IMPORT Console;
BEGIN
Console.String("Hello World!");
Console.Ln
END hello.

View file

@ -0,0 +1,10 @@
VOC = /opt/voc/bin/voc
all:
$(VOC) -m Hello.Mod
clean:
rm *.c
rm *.h
rm *.o
rm *.sym

View file

@ -0,0 +1,9 @@
MODULE hello;
IMPORT Out;
BEGIN
Out.String("Hello, World"); Out.Ln
END hello.

10
hello-world/Out/Makefile Normal file
View file

@ -0,0 +1,10 @@
VOC = /opt/voc/bin/voc
all:
$(VOC) -m Hello.Mod
clean:
rm *.c
rm *.h
rm *.o
rm *.sym