Konstantin Smolyanin
Konstantin Smolyanin
Hello! I've found that something like `cash rm -rf ./dist/*` doesn't work while `cash rm -r -f ./dist/*` (separately) does work. But the first syntax is correct and widespread in...
I think your library is excellent but ... I guess that semantics of ls() (derived from UNIX "ls" command) presupposes its read only behavior. In your implementation it changes current...
Hi! Please, consider adding `@returns` tag alongside with current `@return` tag. It seems that `@returns` is used by the community more widely. For example, WebStorm when generates jsDoc for functions...
Predicates works in a very weird manner. For example this doesn't work as expected: `static_content_symbol: ( / [^\{] / | "{" !"{" | "{" !"*" )+` but this (which is...
Packrat sometimes doesn't work!!! For example this grammar: `comment_content: ( / [^\*\{] / | "*" !"}" | "{" !"*" ) comment_content | comment comment_content | "" comment: "{*" comment_content "*}"...
This doesn't match: `static: (static_content:( / [^\{] / | "{" !("{" | "*") )+ | comment)+ function static_content (&$res, $sub) { $res['content'][0] = "'"; $res['content'][1] .= $sub['text']; }` but this...
There are some problems with rules that include variables. Example: `user_structure: tag_begin pws tag_name:simple_name save_tag_name:"" (rws attribute:user_attribute (rws attribute:user_attribute)*)? (rws tag_stub | (pws tag_end content:template_content? tag_begin pws end_tag_mark pws "$tag_name"...
Group names inside rules sometimes don't work as expected because they do not share params with other parts of the rule. Example: `unknown_attribute: name:simple_name pws ":" pws value:(expression | identifier)...
The only way to add a comment to the rule I have found is like this: `pws: / [\t\r\n\x20]* / # "pws" means "Possible White Space"` (before # must be...
Compilation of several `/*!* ... */` blocks in one file doesn't work (but readme says that it may be done). BTW there is no any loop in Compiler::compile().