I recently got interested in Nim and have been reading the manual. Anxious to get my hands dirty, I decided to re-implement one of my C++ projects in Nim. It is a simple command line utility that converts Euler angles to rotation matrices and unit quaternions.
Project is here: https://github.com/kam3k/euler-nim
Because I don't know anyone personally that uses Nim, I have no way to get feedback about my code. Specifically, I'm looking for chances to make my code more idiomatic, learn about techniques and best practices, etc. that I may have missed going through the manual. Or even language or standard library functions that I could have used to simplify things.
Any comments at all would be immensely helpful. It's quite a small project and shouldn't take long to read. For what I'm asking, I don't think much background knowledge in rotations is necessary.
Thank you in advance for your time.