We're trying to make phc play well as a library, which can be linked into
other applications. Its easy, so long as there arent any globals (or else
its not re-entrant). The parser is already re-entrant, so its just a matter
or abstracting the globals. The most important of them is the command line
options args_info. If that was moved into a module which could be
initialized to its defaults by a library user, _or_ go through the command
line, that would probably be ideal.
Original issue reported on code.google.com by paul.biggar on 19 Sep 2008 at 10:53
Original issue reported on code.google.com by
paul.biggar
on 19 Sep 2008 at 10:53