Open sbp opened 8 years ago
There is a REPL command, :exec
, which compiles and runs the currently loaded file. (As opposed to :e
, which uses the executor like --execute
apparently does.) Perhaps that could be reused.
There’s also the question of whether this should be usable for source files, for ipkgs, or for both.
Akin to
go run
for Go, orcargo run
for Rust. What somebody might expect from the existing--execute
flag, cf. Issue #3441. @ahmadsalim suggested on IRC that this is something I could contribute, so I'm writing this issue as a reminder to myself and in case anybody else wants to pick it up if I don't.