Re:SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javas...
by nullzzz on Saturday January 26, 2019 @03:14AM
(#19005419)
Here's the stack trace parser used. It tries to extract the line number and error message from an Error object. Sorry for the coffeescript!
https://github.com/raimohanska/write-a-game/blob/8d2111e2372...
Re:SCRIPT-8: An 8 Bit Fantasy Computer Programmed with Javas...
by gabrielflorit on Saturday January 26, 2019 @02:42PM
(#19008009)
Good idea. This would be useful for sure.
I started working on a bit similar project some years ago (I unfortunately abandonded it...) but I got one thing right: the ability to highlight the erroneous line. See http://write-a-game.herokuapp.com/ and try to call a non-existent function.