Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47087 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24929 invoked from network); 5 Mar 2010 01:00:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Mar 2010 01:00:36 -0000 Received: from [127.0.0.1] ([127.0.0.1:23862]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 87/77-07692-4B7509B4 for ; Thu, 04 Mar 2010 20:00:36 -0500 Authentication-Results: pb1.pair.com smtp.mail=torkvema@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=torkvema@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: torkvema@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:37152] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/57-07692-2F0509B4 for ; Thu, 04 Mar 2010 19:31:46 -0500 Received: by wwb22 with SMTP id 22so848608wwb.29 for ; Thu, 04 Mar 2010 16:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=eM8iHiW8r1aeUoupNArAJkrbfKsPZXhzrSGiobSTWH8=; b=K8glRWvmvBg+lvPYR9jrNwRZrXylFhXeT0FSXDZX0Z+Uczxxmcvji6qZccakKecLzJ gTzbK20yfJrSkj5rtihQSJWj7VwzIrK7SjKPCpNrBqNBb+eZ2RZyef6FB0cRU3lK8v9g Dgo+2c44lFTcrIX87nXdwKi6kECCEltXrKiuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=WlUFeE+1GP1cJAEOpQM+KRLw4BgujfEY+ExdwV2YZ5AIn532AOVaCSkOE++jJKZqZV aKrRCsXXnozob1J0goX+t/pQnRH5lLjRVZYMh6OKqxwNnu/C/LItB/q97A1uqHBx4gEd W1gjSCUTNztmgeRsTl9ZGXN2K6iJHoD8tyvxQ= MIME-Version: 1.0 Received: by 10.216.90.77 with SMTP id d55mr54231wef.17.1267749103187; Thu, 04 Mar 2010 16:31:43 -0800 (PST) Date: Fri, 5 Mar 2010 03:31:23 +0300 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Hacking language syntax From: torkvema@gmail.com (Vsevolod Velichko) Hello, Internals! I wish to add some syntax to PHP (at first, I want to modify `while` loop, to implement Dijkstra loop) and I've found some old thread about modifying core, but I have no idea, how to do it by extension. I suppose that it possible, since Facebook, as I know, introduced some constructions in its HipHop. But HipHop is rather complex and aimed to do incredibly more things, rather than add one construction, so it's rather hard to study. I'll be glad if someone tell me what to look at for implementing new constructions as an extension. P.s. Please, cc me on reply. -- Best wishes and have a nice day, Vsevolod Velichko