#!/usr/bin/env sh if ! command -v lua &> /dev/null then echo "lua is not installed" exit fi if ! command -v rlwrap &> /dev/null then lua repl.lua else rlwrap lua repl.lua fi