It is impossible to avoid infinite loops
skx opened this issue · comments
Steve Kemp commented
Consider the following input:
10 GOTO 10
That program will never terminate, and an application which embeds this interpreter cannot catch it either.
Add a SetContext
method, or NewWithContext
, to allow handling this.