My frustration
- Posted by BRyan May 16, 2014
- 1334 views
My frustration is that is no documentation to explain in detail how to add one function WRITTEN in Euphoria with one parameter ( a sequence ) that returns an ATOM.
I have been told that all I have to do is pass the routine_id is to look at the way coverage in version 4.1. Well that may be easy if you are a developer that understands everything about the details of using coverage but it is hopeless.
The user needs to know where to put the function written in euphoria.
Where is the callback is initially executed in the backend .
Someone has to write a DETAILED how to ADD a euphoria function to the interpreter
showing how to pass its routine_id from the backend to the frontend;
It must show ever file and place that needs code.
Don't say write the function in 'C' !
I had the idea that you could use the translator to translate a euphoria function to 'C'
and just place the translated function and compile into the interpreter.
But as you know the 'C' output from the translator splits across many files and uses
numbers for variables and etc.
Forked into: Hacking Euphoria