I been using an Arduino UNO for a while, but I learned C using the main() function. So when I want to do Arduino work, I write my own main() function (including the call to init(). I believe the built-in main() function is a library, so it overwrites it with my code.
When I attempted this same thing with the Maple IDE, it failed to compile with an error, within main(), that int main() was redeclared. So instead of overwriting, it added the code into the built-in main() function.
So maybe the Maple IDE built-in main() needs to be made a/part of a library?