johnae / spook

Lightweight programmable evented utility based on LuaJIT and ljsyscall
Other
35 stars 0 forks source link

Linking spook to "lunatic" will make it assume a file to run as input. #28

Closed johnae closed 7 years ago

johnae commented 7 years ago

There's no repl (yet) so this merely makes spook work similarly to:

moon path/to/file.moon or luajit path/to/file.lua

spook (as lunatic) will handle both moon and lua files since moonscript is built-in.

johnae commented 7 years ago

So basically you'd just do:

ln -s path/to/spook path/to/lunatic

lunatic path/to/hello.moon
hello moon
johnae commented 7 years ago

Not sure about the name or the feature. Quite frankly it ought to be possible to just give one argument which happens to be a file directly to spook. No need for linking or anything.