Created
March 24, 2025 11:16
-
-
Save jboynyc/d710c6f486d7f271ec086d50fef11b3f to your computer and use it in GitHub Desktop.
run a Lil script using a nix-shell shebang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" | |
"Moin" "Leude" | |
end | |
"%[exclamation]s %[object]s!" format random[greetings] | |
end | |
print[greet[]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment