diff options
| author | Tom Harley | 2019-12-23 01:32:39 +0000 |
|---|---|---|
| committer | Tom Harley | 2019-12-23 01:32:39 +0000 |
| commit | 7bc67b95161a34f8eca635d4000d9602508a9243 (patch) | |
| tree | 585b3778dc1967832390e5829e4b3909b4184a2c /examples/crosses.int | |
| parent | Add basics for interpreter; add CLI options (diff) | |
| download | sinter-7bc67b95161a34f8eca635d4000d9602508a9243.tar.gz sinter-7bc67b95161a34f8eca635d4000d9602508a9243.zip | |
checkpoint
Diffstat (limited to 'examples/crosses.int')
| -rw-r--r-- | examples/crosses.int | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/crosses.int b/examples/crosses.int new file mode 100644 index 0000000..a1d8c99 --- /dev/null +++ b/examples/crosses.int @@ -0,0 +1,8 @@ +[dec loop [c]] +[dec create_window [c x y w h]] +[dec init_sdl []] + +[def on_click [x y] [debug_int [+ x y]]] + +[def inter_main [] + [loop [create_window [init_sdl] 10 10 100 100]]] |
