https://github.com/xyz32/boneIO
...and a while back I played too with:
https://github.com/gokr/ardunimo
Nim is quite perfect for these things since it compiles via C/C++ which makes it go anywhere.