Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83001 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32193 invoked from network); 17 Feb 2015 19:13:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2015 19:13:25 -0000 Authentication-Results: pb1.pair.com header.from=lisachenko.it@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lisachenko.it@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: lisachenko.it@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:34491] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/B0-28194-4D293E45 for ; Tue, 17 Feb 2015 14:13:24 -0500 Received: by mail-wi0-f180.google.com with SMTP id h11so36453598wiw.1 for ; Tue, 17 Feb 2015 11:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PNXuLjk2UQD3aSdGbPtkhEuKE/FzT+wrL7Sre9/txNk=; b=rP8YUeb+pC0QMxJgxardCJzpCheVVEQRItRNiCS0XD94qrOizgkXeUZDpc0RkERpCJ WJGvoOiCMIGnfR2hZr0zx9xRZTDBytTmHyDGN9ROl4Y4pX1QeNq59DYd4IrKaE+pKbmn 6CQbvg1y47Ln8nbKCmDYBc18G7VbkECwZZImb/GPCkOFLaxM+e8Z0XHN57bGX2PnL2V3 Mmnk8/ou5bWMxbDI1OaSRviCRL5pV6FWnC2h26xPNNA5oBlyi2GoRnMJG1BAN8IEQUxW oFu/1aETAJBsTBQls0CzW3Q3h4lpes8kcG4OMqXLGoxnF3uyTqPwah59t+zvMA9s8aQN Vu2A== MIME-Version: 1.0 X-Received: by 10.180.9.71 with SMTP id x7mr59627906wia.0.1424200401534; Tue, 17 Feb 2015 11:13:21 -0800 (PST) Received: by 10.194.154.229 with HTTP; Tue, 17 Feb 2015 11:13:21 -0800 (PST) In-Reply-To: References: Date: Tue, 17 Feb 2015 23:13:21 +0400 Message-ID: To: Dmitry Stogov Cc: Nikita Popov , Benjamin Eberlei , PHP Internals , Guilherme Blanco , Pierrick CHARRON , Pierre Joye , Zeev Suraski , Andi Gutmans , Joe Watkins , Yasuo Ohgaki , Sebastian Bergmann , Stanislav Malyshev , Rasmus Lerdorf Content-Type: multipart/alternative; boundary=001a11c2476405c516050f4d7f80 Subject: Re: [PHP-DEV] Annotations in PHP7 From: lisachenko.it@gmail.com (Alexander Lisachenko) --001a11c2476405c516050f4d7f80 Content-Type: text/plain; charset=UTF-8 2015-02-17 19:25 GMT+03:00 Dmitry Stogov : > I think yes, > However, Alexander thinks differently > https://wiki.php.net/rfc/parser-extension-api > Of course this is not for 7.0 > This RFC consists of two parts: parsing API and parser extension API. Last one can be rejected, however it can be perfectly connected with annotation RFC (if AST will be used as values) As for annotations, general use-case is appreciated. This can be extended later in future versions of PHP. Therefore, annotation syntax should allow to define key and values. Value can be valid expression (AST? concrete node? compiled value?) or can recursively contain nested annotations. --001a11c2476405c516050f4d7f80--