Improved hello world

This commit is contained in:
Devine Lu Linvega 2024-04-08 16:23:21 -07:00
parent accc108817
commit beda05c9da
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<> (lang_name) (Modal)
<> (?: print) () <> (?: print) ()
(Welcome to lang_name \nHave fun! \n) print (Welcome to Modal!
Have fun.\n) print

View File

@ -12,7 +12,7 @@ run: all bin/modal
test: bin/modal-debug bin/modal test: bin/modal-debug bin/modal
@ bin/modal -v @ bin/modal -v
@ bin/modal-debug examples/test.modal "(arg1) (arg2 (arg3))" @ bin/modal-debug examples/test.modal "(arg1) (arg2 (arg3))"
@ time bin/modal- examples/test.modal "(arg1) (arg2 (arg3))" @ time bin/modal examples/test.modal "(arg1) (arg2 (arg3))"
install: bin/modal install: bin/modal
cp bin/modal ~/bin/ cp bin/modal ~/bin/
uninstall: uninstall: