Currently when an error happens in the interpreter it gives a single message as an error.
It should provide a backtrace containing the following details:
For instance, in this code block I 'mistakenly' append a boolean to a text:
NewLang 0 Set Prefix To BeginText Hello there EndText EndSet Set Name To True EndSet Set Greeting To Prefix Append Name EndSet System Print Name Done System Exit Done
This of course gives the error
Interpreter error: Invalid argument type Bool, expected Text.
I don't know two vital pieces of information: Where it happened, or what values it happened with.
Ideally we would get some output like this:
Interpreter error: Invalid argument type Bool, expected Text While running action: 'Prefix Append Name' in bad.txt on line 4, column 17 Prefix is Text: Hello there Name is Boolean: True
interpeter: Add exception backtracesto
interpreter: Add exception backtraceson 24 Aug
interpreterlabel on 24 Aug