swarm-game / swarm

Resource gathering + programming game
Other
834 stars 53 forks source link

Highlight error part in REPL #1957

Closed xsebek closed 3 months ago

xsebek commented 3 months ago

Closes #1956

xsebek commented 3 months ago

@byorgey could you please have a look? It only works to a degree, and I suspect there are bugs:

Feel free to push to this branch if you find anything; I am out of ideas for today. 😄

xsebek commented 3 months ago

@byorgey, after reading your comment again, I found the arithmetic bug that extended the range. 👍

xsebek commented 3 months ago

Should work well now. Please have a look.

I hit up through my history and it seemed nicely highlighted.