Question about kdev-php

Milian Wolff mail at milianw.de
Sun May 19 11:42:14 UTC 2013


On Sunday 12 May 2013 23:02:33 Heinz Wiesinger wrote:
> On Sunday, May 12, 2013 01:23:35 PM Milian Wolff wrote:
> > On Sunday 12 May 2013 11:14:33 Heinz Wiesinger wrote:
> > > Hi Milian,
> > > 
> > > I started looking into adding missing syntax support for PHP 5.4/5.5 to
> > > kdev- php. I already filed a review request for the short array syntax
> > > introduced in 5.4 and have working support locally for function array
> > > dereferencing and array literal dereferencing.
> > 
> > Jup looks good - thanks for that. Just add a unit test and I'll happily
> > merge it.
> 
> Alright, I'll look into that. All tests for the expression parser go into
> the same file? How can I run them?
> 
> > > I'm a bit stuck now trying to implement string literal dereferencing. I
> > > have it working partially (for double quoted strings with variables) but
> > > for full support I need to distinguish between code like
> > > 
> > > echo "string"[1];
> > > 
> > > and
> > > 
> > > echo true[1];
> > > 
> > > What I found so far is that both are matched by the
> > > CONSTANT_ENCAPSED_STRING token in the commonScalar rule. But didn't find
> > > anything about how this token is handled. Would appreciate some input :)
> > 
> > I'm not into PHP anymore, so I don't really know the feature you are
> > talking about. Could you share a link to the specification?
> 
> https://wiki.php.net/rfc/constdereference
> 
> > Furthermore I'm swamped by work currently and can't really help you. But
> > maybe Niko could take a look. Otherwise please ping me again in about two
> > months.
> 
> I hope Niko is reading this then and doesn't have the same problem :)
> Otherwise, in 2 months is Akademy. Assuming you go I might just ping you in
> person ;)
> 
> In the meantime I'll just refocus. It's not like there's nothing else to
> look at, heh.

Yes, I'll be at akademy. Please do ping me there in person :)

And: Did you look at namespaces yet? It's badly implemented if at all (by me) 
currently and needs work afaik.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130519/f90f0380/attachment.sig>


More information about the KDevelop-devel mailing list