I will be uploading my solutions here.
<https://gitlab.com/al1ranger/aoc2022>
Most likely I will not be able to complete all the challenges during the event,
but I plan to do the unsolved ones afterwards.
My attempts at solving the problems using Nim can be found at
<https://gitlab.com/al1ranger/aoc2021>
I also encountered the same issue. It seems that parseBinInt silently truncates
the bit string based on the width of int (the example in the problem had no X
in the first four bits and hence 32 bit integers did not cause any problems).
Here's the repository with my solutions: <https://gitlab.com/al1ranger/aoc2020>
This is also the first AoC I am participating in (and using it to learn Nim).