http://github.com/sgolemon/astkit (See the README.md)
I'm using zendparse() to generate an AST but *not* compile it to bytecode. In order to get this extension building, I have to patch php-src to export the zendparse symbol. Anyone object to me pushing that change? diff --git a/Zend/zend_globals_macros.h b/Zend/zend_globals_macros.h index b8fb763..190905f 100644 --- a/Zend/zend_globals_macros.h +++ b/Zend/zend_globals_macros.h @@ -36,7 +36,7 @@ BEGIN_EXTERN_C() # define CG(v) (compiler_globals.v) extern ZEND_API struct _zend_compiler_globals compiler_globals; #endif -int zendparse(void); +ZEND_API int zendparse(void); /* Executor */ -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php