mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
added .moo (parser definitions) to Mercury extension list
This commit is contained in:
5
samples/Moocode/hello.moo
Normal file
5
samples/Moocode/hello.moo
Normal file
@@ -0,0 +1,5 @@
|
||||
@program toy:wind
|
||||
this.wound = this.wound + 2;
|
||||
player:tell("You wind up the ", this.name,".");
|
||||
player.location:announce(player.name, " winds up the ", this.name,".");
|
||||
.
|
||||
Reference in New Issue
Block a user