PyHP_pph
PyHP_pph copied to clipboard
Modules
We should have a module system, so programmers can use libraries. I propose using a mixture of Python's and C++'s approaches:
From Python:
import MyMath;
MyMath.MySin(MyMath.MyPi);
And from C++:
//#* MyMath.pyph_pph_h - MyMath module header
Float MyPi = 3.141592;
Float MySin(Float x);
I propose we do have modules, but in the vein of PHP's global namespace we have none included by default.
Agreed.