Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45809 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50147 invoked from network); 14 Oct 2009 11:37:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2009 11:37:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=ekneuss@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ekneuss@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.155 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ekneuss@gmail.com X-Host-Fingerprint: 72.14.220.155 fg-out-1718.google.com Received: from [72.14.220.155] ([72.14.220.155:63772] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/5A-27693-508B5DA4 for ; Wed, 14 Oct 2009 07:37:42 -0400 Received: by fg-out-1718.google.com with SMTP id d23so1385058fga.11 for ; Wed, 14 Oct 2009 04:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=tr/fmgjnJB+sq6/8k6TQsfYyZZ6ffOytDSgYI5YiY/U=; b=DM91OKniQ2R0Asz6nvfqwIXz9nmDVMLdMx6whfujbnq4hcGP6HOoTR28dMDQC3K28n v4TGvJpme06g7BSWDhwuRmoiVzGgPIxF/IhBeB0OX+U4M51blkSIl9gfQsPo3YnG6kV6 5D/+gMICFswfy1LXNKjPUP4GpS0IlcXkt9+7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Jp0cQNEFf3oEmrFQNfRXMoNH2LRoWa5xEZLYftp2SYVIztKdawhBvqwZp63bZbfZXu BUDfAROh1MfY8UASv+e0ZWiVJhRoB/9k/ggA5vaEZnwuRDjSpValIvMfVt4MDAlT/5V1 Npk9tgkIJ8b+eHboDstZuzVGsbs1EChA01kaU= MIME-Version: 1.0 Sender: ekneuss@gmail.com Received: by 10.86.231.17 with SMTP id d17mr7554303fgh.46.1255520256165; Wed, 14 Oct 2009 04:37:36 -0700 (PDT) In-Reply-To: <9db916bc0910140415h6bb58bd6v1ed35859d2d9a3b0@mail.gmail.com> References: <9db916bc0910101434x507e05b9r2651eaa67f833164@mail.gmail.com> <9db916bc0910140415h6bb58bd6v1ed35859d2d9a3b0@mail.gmail.com> Date: Wed, 14 Oct 2009 13:37:36 +0200 X-Google-Sender-Auth: 89533c0ada308933 Message-ID: To: Rune Kaagaard Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: Creating an experimental syntax From: colder@php.net (Etienne Kneuss) Hello, one problem that immediately pops out is that you have a parsing ambiguity between an argument list and a concatenation of strings as a single argument. You should start by producing a BFN version of your desired grammar. Such errors should then be more apparent. Best, On Wed, Oct 14, 2009 at 1:15 PM, Rune Kaagaard wrote: > Dear internals > > I'm slowly getting to know more about bison and language parsing. A > new world for me. But progress is still slow. I have made an example > of the syntax I am looking to achieve at > http://code.google.com/p/php-alternative-syntax/ . If any of you c > gurus could help me with the best method to attack the problem I would > be very grateful! > > Cheers > Rune Kaagaard > Denmark > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Etienne Kneuss http://www.colder.ch