Hi. I am making an arduino simulator for a project. Basically my program is complete and can parse Arduino code and that. I want to be able to use the standard arduino IDE for the simulator. Basically my idea is to create a fake COM port and then the IDE can send the code to my program that way I can parse it and use it accordingly.
I basically need the code (like void main() {}, etc) that is NOT parsed. Can anybody give me steppingstones for making a virtual com port and "capturing" the code.