[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP support

From: Akim Demaille
Subject: Re: PHP support
Date: Thu, 28 Jun 2012 15:53:14 +0200

Le 28 juin 2012 à 14:35, Chris Morley a écrit :

> Hi All,

Hi Chris,

> I have a project where I am evaluating moving a parser from C++ to PHP.

Wow.  I'm curious: what's the goal?

> $$$ -> $
> $$$$ -> $$
> @@@ -> @

Why not.  I have no strong opinion.  Yet \$ would have seemed more natural
to me.  \$1, \$\$, address@hidden  What do you think?

One problem with \ is that then we need a means to escape it itself,
such as \\.

> This seems tidier to me than the PHP specific ifs in the scfc/bison_php code.
> It might be helpful to add this to the release with a argument to enable it.

I'm not sure the argument to enable is needed.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]