Re: application for a svn account(new extension PLua)
| From: | Pierre Joye | Date: | Sun, 19 Jun 2011 12:44:54 +0000 |
| Subject: | Re: application for a svn account(new extension PLua) | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8373@lists.php.net to get a copy of this message | ||
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