Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4742 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45230 invoked by uid 1010); 8 Oct 2003 07:26:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45173 invoked from network); 8 Oct 2003 07:26:06 -0000 Received: from unknown (HELO mail.sites-secure.com) (213.189.34.71) by pb1.pair.com with SMTP; 8 Oct 2003 07:26:06 -0000 Received: by mail.sites-secure.com (CommuniGate Pro PIPE 3.5.9) with PIPE id 31205372; Wed, 08 Oct 2003 09:34:09 +0200 Received: from [192.117.106.24] (account ilya@up.co.il HELO abox.co.il) by mail.sites-secure.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 31205376 for internals@lists.php.net; Wed, 08 Oct 2003 09:34:04 +0200 Message-ID: <3F83BCE9.5040309@abox.co.il> Date: Wed, 08 Oct 2003 09:29:45 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3; MultiZilla v1.3.1 (a)) Gecko/20030917 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: PHP Development X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-DoalSignature: rot-4 (smtp) Subject: advice request on new php extension : phprep From: netcat@abox.co.il (netcat) 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