hikari_no_yume
hikari_no_yume
> Namespaces are great, I think we should avoid the `\` and go for something simpler, like `Foo:Bar:Baz` and just compile them to PHP `use` clauses. The problem with `Foo:Bar:Baz`...
Ooh, good point, I'm not sure that is possible. You'd have to do `$a();` but I don't think Blueberry ever generates variable function calls like that.
The most fun case is nested closures.
Maybe `import`? Since you sort of import the methods. Or `copy`, since it's essentially compiler-assisted copy and paste.
I don't think it's sufficiently obvious what it does
Generators are a 5.5 thing, not 5.4.
Well, Traits _are_ a 5.4 thing. ;)
You seemed to have deliberately commented out the test for that: https://github.com/gosukiwi/Blueberry/blob/master/tests/test.js#L151 And if you're going to fix the nesting thing, you should do that by making the rule recursive.
One fun thing is that PHP 5 (unlike PHP 7) doesn't have arbitrarily-nestable lvalues or rvalues... so some things that Blueberry supports might not be supported in PHP 5 without...
I think PHP 5.6 (or was it 5.4?) fixed that one.