Re: application for a svn account(new extension PLua)
| From: | Xinchen Hui | Date: | Mon, 04 Jul 2011 16:10:13 +0000 |
| Subject: | Re: application for a svn account(new extension PLua) | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8411@lists.php.net to get a copy of this message | ||
Hi all:
I am xinchen hui , from china.
I re-wrote the phplua , make it more php like, and added some new features.
but pierre said that it's will be better if there is only one
extension about lua in pecl
so I would like commit my changes to lua extension , of course ,
only with your consent.
could you can add my pecl account "laruence" into lua project in
pecl? then I can commit my codes.
thanks.
2011/7/4 Johannes Schlüter <johannes@schlueters.de>:
> Hi,
>
> Andreas (on CC) did some work on the PECL lua extension which is
> available via http://phplua.3uu.de/ I think you should join
> your efforts
> and make sure the result is available via PECL.
>
> I myself don't mind if any of you takes over but please coordinate so we
> get one very good extension instead of two or three like now :-)
>
> johannes
> On Sun, 2011-06-19 at 14:56 +0800, 惠新宸 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
Senior PHP Engineer
http://www.laruence.com