Re: Adding a new builtin function
- Posted by Jerome Dec 30, 2012
- 1086 views
I am not sure mod'ing the Eu internals for Pi support is a great idea. If there's voting, i vote for a DLL or include for each micro-mobo available, because the interface for a Pi will be different than an Arduino, or an Oak, or Rabbit 2000, or PICAXE, or a NextBestThing.
Agreed. While adding internal routines is certainly useful for many things, for this task an external library would probably be more helpful and a lot more portable, i.e. it could be excluded when not necessary. Now, adding a library would be much easier if Euphoria could better integrate with its own compiled libraries, i.e. importing the symbol table instead of manually wrapping all the routines.
-Greg
I'm not advocating that the Eu internals need to be modified for Pi support, using external libraries/includes for GPIO and SPI is good with me. I am still curious about the internals of Eu though, which brings me back to my original question. Is there any documentation on adding builtin routines or would one of the devs mind sharing notes/tips?
Thanks,
Ira