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
From: netcat [mailto:netcat@abox.co.il]
Sent: Wednesday, October 08, 2003 9:30 AM
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)
you may want to look here:
http://pecl.php.net/account-request.php
regards,
Lukas
[Questions]
Is sf.net the right place to publish?
As Lukas pointed out, why use sf.net to host your PHP extension
when you can use the PHP facilities? :-)
Please read this link for more information about PECL:
http://news.php.net/article.php?group=php.pecl.dev&article=5
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)
In terms of licensing, BSD and non-viral Open Source
licenses are suitable for use with a PECL-hosted extension.
We strongly recommend that all PECL extensions are licensed
using our own PHP License.
If you are wrapping a library (which you are), the library itself
can be LGPL provided that you don't bundle a modified version
of it with the extension. However, if the library is GPL, that
would cause your extension to become a GPL extension, and
we can't have GPL code in PECL.
Unfortunately, librep itself falls under the GPL, which means
that we can't host your extension in PECL (please check the
archives for pecl-dev list for more information).
If you can find a BSD licensed alternative for librep, then it would
be welcome. You are also welcome to propose other extensions
for PECL.
So, it looks like sf.net is your best option right now.
I want to publish first and than introduce that to my boss.
Seems to be the correct order?
Depends on your boss ;-)
What are my chances the people will join the project after
i will publish it ?
If the extension seems to be quite useful to a number of people,
then the chances are quite good.
--Wez.