pharen
pharen copied to clipboard
Compiling to a class
It would be nice if the generated code could inject all of its functions into a class, calling all the methods as $this->fn_name().
The rationale is that the generated class could then be more easily embedded inside another application.
Is this something that would be a huge amount of work?