Why Nostr? What is Njump?
2025-02-19 02:59:49

Digital Mark λ 📚 🕹 💾 🥃 on Nostr: Compiling! % cat hello.scm ;; hello.scm ;; -*- coding: utf-8 -*- (module-name ...

Compiling!

% cat hello.scm
;; hello.scm
;; -*- coding: utf-8 -*-

(module-name <hello>)
(module-compile-options main: #t)

(let* ( (args (command-line))
(name (cond
((<= (length args) 1) "World" )
(else (cadr args) )
))
)
(format #t "Hello, ~A!~%" name)
)

% kawa -C hello.scm
(compiling hello.scm to hello)
# the classpath is ugly:
% java -cp /usr/local/share/kawa/lib/kawa.jar:. hello
Mark
Hello, Mark!

#scheme #kawa
Author Public Key
npub1lwr6ewhchfc8u4k0fupgl4kvr6vm3fu0aqe8e2msj9032ccmqeeqmu38zw