is it possible to change the arguments, passed to the compiler, to be manipulated by a macro?
I would find it very practicle for PHP compilation.
So it would be possible to automatically correct the library path ( --php-lib phpLibFolder ).
At the moment the argument sets the path relative to the index.php file.
It would be great to be able to automatically have it set to the equivalent folder of ‘src’ (classpath folder/ topLevel folder).
To manipulate the array you retrieve with Sys.args(); is pointless. It’s apperently just a copy of the args.
Is there a regular way? Or is there a sinister hack? I am looking forward to your suggestions.