diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-12-11 10:01:52 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-11 10:01:52 -0700 |
| commit | 4d5d24f1da11a1279da0b5ea9351c4372a74bc43 (patch) | |
| tree | 90e2e93ee24518fc098b0109871f83fbd07ac392 /demo.stage | |
| download | stage-4d5d24f1da11a1279da0b5ea9351c4372a74bc43.tar.gz stage-4d5d24f1da11a1279da0b5ea9351c4372a74bc43.tar.bz2 stage-4d5d24f1da11a1279da0b5ea9351c4372a74bc43.tar.xz stage-4d5d24f1da11a1279da0b5ea9351c4372a74bc43.zip | |
Basic parser coming together.
Diffstat (limited to 'demo.stage')
| -rw-r--r-- | demo.stage | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/demo.stage b/demo.stage new file mode 100644 index 0000000..b1ff4e8 --- /dev/null +++ b/demo.stage | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | //game | ||
| 2 | //{ | ||
| 3 | /* | ||
| 4 | title = "Demo game"; | ||
| 5 | |||
| 6 | goto <<start>>; | ||
| 7 | */ | ||
| 8 | //} | ||
| 9 | |||
| 10 | function hello() | ||
| 11 | { | ||
| 12 | } | ||
| 13 | |||
| 14 | situation <<start>> | ||
| 15 | { | ||
| 16 | // set situation end; | ||
| 17 | // push situation somethingElse; | ||
| 18 | |||
| 19 | } | ||
| 20 | |||
| 21 | situation <<end>> | ||
| 22 | { | ||
| 23 | goto( <<start>> ); | ||
| 24 | } | ||
