Skip to content

Instantly share code, notes, and snippets.

View jboynyc's full-sized avatar
🍜

John Boy jboynyc

🍜
View GitHub Profile
@jboynyc
jboynyc / greeter.scm
Created March 10, 2025 13:25
Guile Goblins script with Nix shebang
#!/usr/bin/env nix-shell
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-unstable-small.tar.gz
#! nix-shell -p guile guile-fibers guile-gnutls guile-goblins
#! nix-shell -i "guile --no-auto-compile -s"
!#
(use-modules (goblins)
(goblins actor-lib methods))
(define a-vat (spawn-vat))
@jboynyc
jboynyc / greet.lil
Created March 24, 2025 11:16
run a Lil script using a nix-shell shebang
#!/usr/bin/env nix-shell
#! nix-shell -p decker
#! nix-shell -i lilt
sys.seed:sys.ms
on greet do
greetings: insert exclamation object with
"Ciao" "bella"
"Hello" "world"