Re: application for a svn account(new extension PLua)
| From: | Pierre Joye | Date: | Sun, 19 Jun 2011 14:24:40 +0000 |
| Subject: | Re: application for a svn account(new extension PLua) | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8376@lists.php.net to get a copy of this message | ||
yes, but I would suggest to contact the authors of the existing lua's
extension to see how you can share the work and work together (added
as CC)
On Sun, Jun 19, 2011 at 4:10 PM, 惠新宸 <laruence@gmail.com> wrote:
> Hi:
> I agree with you,
>
> but if I can join in this pecl dev team, I can make this ext better.
>
> on the other hand, I need a svn account to submit Yaf too.
>
> thanks
>
>
> 2011/6/19 Pierre Joye <pierre.php@gmail.com>:
>> hi,
>>
>> Did you look at http://pecl.php.net/package/lua ? It would
>> make sense
>> to have only one.
>>
>> Cheers,
>>
>> On Sun, Jun 19, 2011 at 8:56 AM, 惠新宸 <laruence@gmail.com> wrote:
>>> Hi:
>>>
>>> PLua(http://code.google.com/p/plua/) is a PHP extension which with
>>> the LUA interpreter embed in.
>>>
>>> PLua is an rewritten version of PHP-Lua(http://phplua.3uu.de/),
>>> rewritten codes, add support for LUA_TFUNCTION return by Lua,
>>> optimized profermance, made compatible with c89, and more other new
>>> features...
>>>
>>> I hope can submit Plua to Pecl(btw: also I have submit another PHP
>>> extension Yaf(http://code.google.com/p/yafphp/) before , but no one
>>> response).
>>>
>>> if any other infos needed, plz inform me.
>>>
>>> thanks;
>>>
>>> APIS
>>>
>>> $lua = new Plua($lua_script_file = NULL);
>>>
>>> $lua->eval("lua_statements"); //eval lua codes
>>> $lua->include("lua_script_file"); //import a lua script
>>>
>>> $lua->assign("name", $value); //assign a php variable to Lua
>>> $lua->register("name", $function); //register a PHP function to Lua
>>> with "name"
>>>
>>> $lua->call($string_lua_function_name, array() /*args*/);
>>> $lua->call($resouce_lua_anonymous_function, array() /*args);
>>> $lua->call(array("table", "method"), array(....,
>>> "push_self" =>
>>> [true | false]) /*args*/);
>>>
>>> $lua->{$lua_function}(array()/*args*/);
>>>
>>>
>>>
>>> --
>>> Laruence Hui
>>> http://www.laruence.com
>>>
>>> --
>>> PECL development discussion Mailing List (http://pecl.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>
>>
>>
>> --
>> Pierre
>>
>> @pierrejoye | http://blog.thepimp.net |
>> http://www.libgd.org
>>
>
>
>
> --
> 惠新宸 laruence
> Senior PHP Engineer
> http://www.laruence.com
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org