First commit

This commit is contained in:
MatMasIt
2021-09-28 22:35:18 +02:00
committed by GitHub
parent 0aaa575eb0
commit d472caa320
3 changed files with 100 additions and 0 deletions

19
examples/rect.mga Normal file
View File

@ -0,0 +1,19 @@
OUT I will draw a rectangle\n
INT w
INT h
IN INT w l
IN INT h h
INT wr
INT hr
SET wr 0
SET hr 0
:wrc
:wf
OUT *
INC wr
JL wf wr w
OUT \n
SET wr 0
INC hr
JL wrc hr h
END