justin2004 / apl_in_the_shell

Dyalog APL in your command shell
21 stars 0 forks source link

add a repl-mode for apl.sh? #3

Open secwang opened 8 months ago

secwang commented 8 months ago

./apl.sh "1+1" (base) script file "/dev/fd/63" could not be found

In addition, I was wondering if could add an option to let dyalog apl execute in the traditional repl way.

https://gist.github.com/secwang/dcbb87115a02c1419246ab60bebe0e68 like this

justin2004 commented 8 months ago

@secwang try apl.sh -ni "1+1" or equivalently apl.sh --no-input "1+1"

i added that option so we don't need to use - or /dev/stdin to read from stdin