Re: scheme
| From: | Alan Knowles | Date: | Wed, 20 Aug 2003 02:07:28 +0000 |
| Subject: | Re: scheme | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3715@lists.php.net to get a copy of this message | ||
Historically AFAIK, I think the first gtk bindings where written in Scheme (Lisp to us old timers)..
they generated a dataformat to describe the bindings that where required.. - the def's file..
This file was latter picked up by other binding writers - python, (perl i think), pike, and now PHP...
the scheme.php parses the defs file (eg. a lisp file) and turns it into an array.. - which is later used by the generator to create C code for the binding.
to generate a binding for a gtk widget, after creating a skeleton (build enviroment) - you need to generate a defs file from the C *.h files
(this little tool is currently being worked on to assit in gtk2 bindings)
http://www.akbkhome.com:81/svn/akpear/PHP_CGenerator/h2def.php
Regards
Alan
Decapode Azur wrote:
hi, I would like to know just by curiosity, what is the relationship between php-gtk and Scheme ? I have seen in the tarball that there are scheme scripts and scheme.php What are they for ? Cheers-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com