I also introduced a better error report in cmd_call_echoed so we can
report a better error message in case the user is missing something to
run the command.
As we talked on discord, this PR should be postponed to the future as the language is still in the early stages and we are not sure about the benefits of it.
This commit removes completely the simulation subcomand
sim
from Porth. We also introduces a new subcommandrun
which is just an alias tocom -r -s
.Now we can use the
run
command like this:I fixed the
tests.py
to reflect these changes.I also introduced a better error report in
cmd_call_echoed
so we can report a better error message in case the user is missing something to run the command.