Mirror of
forum.nim-lang.org
index
3252 :: Recovering Nim source code
[2017-10-17T18:27:38+02:00]
View Orginal
jzakiya
(orginal)
[2017-10-17T18:27:38+02:00]
view original
I have a Nim executable file that I somehow can't find the source for, but I have all its nimcache files. Is there someway to reproduce the Nim source code that this executable was created from?
Araq
(orginal)
[2017-10-18T09:40:47+02:00]
view original
I don't think there are any tools that could help with that. Always have backups! :-)
jzakiya
(orginal)
[2017-10-18T20:08:11+02:00]
view original
From looking at the xxx.c file in the
nimcache
directory I ultimately figured out which source code version the executable was created from.
Udiknedormin
(orginal)
[2017-11-05T02:07:13+01:00]
view original
It would be sad if it was possible as it would (probably) mean that Nim is just a syntactic sugar. :-/