advice request on new php extension : phprep
| From: | netcat | Date: | Wed, 08 Oct 2003 07:29:45 +0000 |
| Subject: | advice request on new php extension : phprep | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-4742@lists.php.net to get a copy of this message | ||
Hi, internals.
[Introduction]
I'm working on new php extension.
It's called "phprep". It's a glue between php and librep.
Why? PHP have a lot of good libs, lisp have the power and
this is my attempt to combine.
(Please no flames about power of langs.)
I want the extension to be open-source.
I want to start using this extension (as soon as it becomes
pretty stable e.t.c) at my work.
The extension was (already half of it or more i guess) written
in my spare time.
[How]
Two functions implemented
In php:
rep_eval($str) : evaluates $str lisp code and converts any returned
data structure into php data structure.
In librep:
(eval-php str) : the exact opposite
Thise two should be enough.
[Simple example]
---
$in=array(1,2,3,4,5);
$out=rep_eval('(filter oddp (eval-php "$in"))');
print_r($out);
---
Array
(
[0] => 1
[1] => 3
[2] => 5
)
---
[TODO]
Stabilize the code.
Finish data converters.
They already handle most primitives and arrays(hashes) but that might be not the best
implementation alternative (talking about arrays).
[Questions]
Is sf.net the right place to publish?
Do I have restrictions (because it's a php extension)
on picking up a license for the soft?
(I mean except ones on sf.net)
I want to publish first and than introduce that to my boss.
Seems to be the correct order?
What are my chances the people will join the project after
i will publish it ?
Any other ideas ?
P.S.
RTFM pointers are perfectly fine. They should contain urls tough :)
--
NetCat
------------------------------------------------------
SPAM-Free 10mb Free email + Antivirus + POP3 + more...
Get it at http://www.doal.co.il:81/free/?c=all-spam