News for hackers. Stuff that matters.
Re:Nim Programming Language 0.14.0 released by agumonkey on Wednesday June 08, 2016 @11:18AM (#11862800)
Javascript targetting languages have source maps to link back errors at the lower level back to the pre-compiled source. Clojure dealt with the dual nature of errors (clojure exception from java exception) by partitioning messages in sub-groups to facilitates reading.
Re:Nim Programming Language 0.14.0 released by Keyframe on Wednesday June 08, 2016 @11:41AM (#11862969)
That's the answer I was looking for. I was unaware of that. I presume Nim provides something like that as well?
Re:Nim Programming Language 0.14.0 released by dom96 on Wednesday June 08, 2016 @12:38PM (#11863508)
Nim can add #line directives into the generated C source code which map back to the Nim code. GDB can use this information.
Re:Nim Programming Language 0.14.0 released by agumonkey on Wednesday June 08, 2016 @12:01PM (#11863145)
I don't know, I only compiled nim once last year to see what kind of C code would show up. I ran away because there was a lot of expansion.