about summary refs log blame commit diff stats
path: root/lua/chupacabra/repl
blob: aeefe4ac3a6b5155f16fd7639a8bb7c6ffefa863 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

                 












                                   
#!/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