aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hello-world
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-04-10 16:32:39 -0400
committerGravatar Peter McGoron 2025-04-10 16:32:39 -0400
commit0acdcb6512fe8ee6642ef941aae4a08252c7fc8f (patch)
treea4d8094a2b9c74374b7d299ff697a87b5ce47320 /examples/hello-world
chibi libraries
Diffstat (limited to 'examples/hello-world')
-rw-r--r--examples/hello-world/hello-world.sld6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/hello-world/hello-world.sld b/examples/hello-world/hello-world.sld
new file mode 100644
index 0000000..234a593
--- /dev/null
+++ b/examples/hello-world/hello-world.sld
@@ -0,0 +1,6 @@
+(define-library (hello-world)
+ (import (scheme base) (scheme write))
+ (export hello-world)
+ (begin
+ (define (hello-world)
+ (display "hello, world\n")))) \ No newline at end of file