If you have an Arduino Sketch that you want to run e.g in Linux or OS/X you can include this library with cmake. Here is an example cmake file for a Arduino Audio Sketch).
I really wanted to have an interactive Jupyter environemnt in which I could play around with Arduino commands and when I discovered that Arduino provides a good starting point with their ArduinoCore-API I decided to start this project.
I am using xeus-cling as a runtime environment to simulate an Arduino Development board and I have added the missing implementation using C or the C++ std library.
Here is a quick demo:
The generated Class documentation.