diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-06-04 14:26:39 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-06-04 14:26:39 +0100 |
| commit | b4bdfe8e752a0540e73fda8c07ea50219a0e4742 (patch) | |
| tree | ec5aad40576d904b74c766de8803c18b799ef74b /examples | |
| parent | 56db4ce602a8b888bdbc42546bfc3f6ae9f25234 (diff) | |
Add hello-world example
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/hello-world/shed.toml | 0 | ||||
| -rw-r--r-- | examples/hello-world/src/HelloWorld.shed | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/hello-world/shed.toml b/examples/hello-world/shed.toml new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/examples/hello-world/shed.toml diff --git a/examples/hello-world/src/HelloWorld.shed b/examples/hello-world/src/HelloWorld.shed new file mode 100644 index 00000000..e2d8d187 --- /dev/null +++ b/examples/hello-world/src/HelloWorld.shed @@ -0,0 +1,3 @@ +fun main() ! Io -> Unit { + print!("hello, world\n"); +} |
