php-compiler icon indicating copy to clipboard operation
php-compiler copied to clipboard

Integrate prebuild modules

Open CollioPHP opened this issue 6 years ago • 4 comments

For supporting this proposal:

https://github.com/ircmaxell/PhpGenerics/issues/13

the compiler needs a concept of loading modules before compiling the code. e.g. you dont want to do black magic in every autoloader.

CollioPHP avatar Mar 12 '19 18:03 CollioPHP

Already supported: https://github.com/ircmaxell/php-compiler/blob/master/lib/Runtime.php#L116

:D

As far as including generics, I think I'd rather include them as native rather than the hacky addition once the compiler is up and running...

ircmaxell avatar Mar 12 '19 19:03 ircmaxell

I will look into it further.

cool repos.

CollioPHP avatar Mar 12 '19 19:03 CollioPHP

But dont loose your hackyness. youre the master black magicphpian

CollioPHP avatar Mar 12 '19 19:03 CollioPHP

Also. sorry to bother you with.... documentation. :3 But i know the code is the documentation. But a good README.md how to run it... configure it... is a good catch for every project.

CollioPHP avatar Mar 12 '19 19:03 CollioPHP