Nice work. It must have been much work to manually convert the Java code to Nim. For C or C++ code conversion based on c2nim should be much easier.
I hope you can do some performance tests also. I don't expect a performance gain for Nim, as long as you have keep the original Java data structures, but it would be good to know that there is no significant regression for the Nim version.
