Public
Authored by Michael Babich

Bilingual Shell/Lisp Program

This is a bilingual shell/lisp program that produces a program that's both executable as a script and loadable as a regular Common Lisp file, where (main) is only called when executed and not when loaded.

Note: Tested in zsh and in bash. It might not work in every shell.

Edit: replaced hardcoded bilingual.lisp with $0

Edited
bilingual.lisp 493 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment