Skip to content

Is it possible to use the interpreter non-interactively? #850

Answered by Alasdair
Timmmm asked this question in Q&A
Discussion options

You must be logged in to vote

For entirely non-interactive execution, you can write a script with the interpreter commands you want to execute, then use interactive script command -is as sail -is <script> <file> with something like:

main()
:run
:quit

in the script.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Alasdair
Comment options

Answer selected by Timmmm
@trdthg
Comment options

@Timmmm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants