From: Alan K. <al...@ak...> - 2004-05-08 14:58:41
|
Got bored and started playing around with the source to binaryphp. http://devel.akbkhome.com/svn/index.php/binaryphp/ Some of the ideas I played around with: http://devel.akbkhome.com/svn/index.php/binaryphp/functions.php - rather than manually keep track of a big array of functions that are avaiable, generate the list when you compile.. (eventually caching it..) http://www.akbkhome.com:81/svn/binaryphp/functions/mysql/mysql_connect.cpp - use commented headers to store dependancy info //#include //#library //#usefunction ** the eventual plan for this is to allow something like this: //#usefunction GtkWidget::new php_gtk_wrapper_gtk_widget_new #define php_gtk_wrapper_gtk_widget_new(a,b) / (php_var) binphp_gtk_wrapper(gtk_widget_new((int) a, (char*) b)); http://devel.akbkhome.com/svn/index.php/binaryphp/tokenizer.php - small hack to make static class method calls appear as a function call. http://devel.akbkhome.com/svn/index.php/binaryphp/tokenflow.php - relay function calls into the function 'manager' ********************************************* Anyone know what the current status of binary php is The basic C++ design is quite nice, and the organization of function implementation is good. the grammer parser stuff eventually needs to utilize a real parser.. - but fudging the tokenizer is workable in the short term.. did you want to sign me up for cvs access..??????? - commit some of this stuff.. Regards Alan -- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com |