Nikita Konstantinov

Results 24 comments of Nikita Konstantinov

@SerafimArts ``` case $token->is('T_OPEN_TAG'): ``` I think it doesn't work in general case, e.g. ``` // just HTML inline text block

> https://gist.github.com/SerafimArts/bb9363fbd2d5cca8693cfcdc4631c2f7#file-lexer-php-L25 I don't have ability to test it right now, but I suppose this lexer will treat first line as a comment, but in fact it is plain text...

Is it worth it? This extension is built-in by default, unless you disabled it on purpose: https://secure.php.net/manual/en/ctype.installation.php. composer.json should require it, though.

I could help with this PR, but unfortunately I face with such invalid types too often: ![image](https://user-images.githubusercontent.com/1517363/49332834-68c67880-f5c5-11e8-9c48-072cd81a9564.png) I suggest to replace `Consistency::flexEntity` magic with native `class_alias()`.

@Hywan I have to find out the real purpose over `class_alias()` first :) https://github.com/hoaproject/Compiler/issues/95#issuecomment-438100057 I can make PR for replacing it.

It requires to implement parser generator for [gasparnagy/berp](https://github.com/gasparnagy/berp) first (template file).

How it's going? Need some help?

Not sure about English language, but "Scenario" instead of "Example" in Russian sounds literally like "Script" for a movie or even a theatrical play. It's harder to represent to a...

This version does not support whitespaces? it's impossible (bytecode only) or due to some other reasons? All (?) modern code fixers work with tokenizers, but it's painful. Code fixer based...

Okay. I have another more or less related question for this topic. It's possible to dump in bytecode id of each closure definition? Just some bytes based on current filename...