Commit Graph

706 Commits

Author SHA1 Message Date
Vadym Slizov
a43830b7c1 init modules 2020-03-09 11:34:11 +02:00
z7zmey
e27faddfa5 change //line comments to fix debug information 2020-01-08 09:47:23 +02:00
Vadym Slizov
7ad2a2c24f
Merge pull request #102 from z7zmey/issue-101
fix constant string fail "{\"
2020-01-08 09:35:32 +02:00
z7zmey
003ee67a86 [#101] fix constant string "{\"" 2020-01-08 09:31:40 +02:00
Vadym Slizov
2bf270c61b
Merge pull request #100 from z7zmey/issue-82
Merge issue-82 to dev
2019-12-30 00:31:45 +02:00
z7zmey
31052588b1 [#82] add support of shebang 2019-12-30 00:20:20 +02:00
z7zmey
4a518d9e5d [#82] %left ... T_COALESCE_EQUAL 2019-12-29 23:14:25 +02:00
z7zmey
d552681a7d [#82] array item unpack 2019-12-29 22:42:52 +02:00
z7zmey
dc7aa7302d [#82] property type 2019-12-29 16:36:56 +02:00
z7zmey
7b4c72a3af [#82] Arrow function and assign coalesce 2019-12-28 22:33:21 +02:00
z7zmey
0e55cb3b25 [#82] PHP 7.4: numeric literal separator 2019-12-26 23:54:44 +02:00
z7zmey
ec6be0d9bd [#82] handle php version 2019-12-26 17:57:56 +02:00
z7zmey
6afa2a089b [#82] Lexer: handle PHP 7.3 heredoc 2019-12-26 15:41:06 +02:00
z7zmey
777873afae [#82] add new token constants 2019-12-24 16:16:35 +02:00
z7zmey
d2c76460ab scanner refactoring 2019-12-21 14:44:25 +02:00
Vadym Slizov
498e93d178
Merge pull request #94 from z7zmey/issue-93
Fix scanning constant strings
2019-06-07 09:48:19 +03:00
z7zmey
e4a208e2a9 [#93] fix scanning constant strings 2019-06-07 09:33:35 +03:00
z7zmey
fb2adacdd2 Merge branch 'ganlvtech-dev' into dev 2019-06-06 21:33:30 +03:00
z7zmey
6bef3167cb [#91] add test for byte chars in variable name 2019-06-06 21:32:58 +03:00
Ganlv
69f7ff2216 Fix #91
Add support for \x80-\xff.
Change \x7f-\xff to \x80-\xff.
2019-06-03 22:22:05 +08:00
Vadym Slizov
a7e37add48
Merge pull request #87 from z7zmey/issue-86
#86 fix json dumper
2019-03-28 21:12:18 +02:00
z7zmey
f06a8ebb51 #86 fix json dumper 2019-03-28 21:10:51 +02:00
Vadym Slizov
e712b13cfb
Merge pull request #85 from z7zmey/issue-78
#78 do not use short echo tag
2019-03-20 21:31:34 +02:00
z7zmey
c86d955571 #78 fix test 2019-03-20 21:29:59 +02:00
Vadym Slizov
157391bf6d
Merge pull request #84 from blue-bird1/dev
fix #78 not use short-tags.
2019-03-20 21:27:17 +02:00
Vadym Slizov
b00a785bfb
Merge pull request #83 from z7zmey/ragel
#80 implement Ragel based lexer
2019-03-20 21:10:59 +02:00
z7zmey
2c649159c7 #80 implement Ragel based lexer 2019-03-20 21:06:56 +02:00
blurbird
7c88be3211 fix #78 not use short-tags. 2019-03-09 17:38:05 +08:00
Vadym Slizov
9ca7109abe
Merge pull request #77 from blue-bird1/dev
if not have file arg, will print usage
2019-03-07 09:37:01 +02:00
blurbird
3d41f036da if not have file arg, will print usage 2019-03-07 04:28:15 +08:00
z7zmey
32d9c634d1 remove kylelemons/godebug 2019-02-25 18:12:39 +02:00
z7zmey
a6519f4a2c update .travis.yml 2019-02-25 17:59:06 +02:00
z7zmey
c456fa90ce update README.md 2019-02-25 17:16:24 +02:00
z7zmey
a7229f53dd rename flag -meta to -ff 2019-02-25 16:52:47 +02:00
z7zmey
37c9c2092f remove karrick/godirwalk 2019-02-25 16:11:51 +02:00
Vadym Slizov
2f1834a2ee
Merge pull request #74 from z7zmey/meta-refactoring
Rename package `meta` to `freefloating` and refactor
2019-02-25 15:14:35 +02:00
z7zmey
b3800a2595 rename meta to freefloating; refactoring 2019-02-25 15:01:57 +02:00
Vadym Slizov
a7082117d9
Merge pull request #73 from z7zmey/issue-63
#63: print valid code even without meta
2019-02-01 23:51:43 +02:00
z7zmey
02a77f7fb0 #63: print valid code even without meta 2019-02-01 23:43:04 +02:00
z7zmey
f2e5271e2a #70: [php5] inherit meta.Data at assign.Assign 2019-01-04 10:01:12 +02:00
Vadym Slizov
61be88381e
Merge pull request #72 from z7zmey/issue-70
Attaching meta.Data to top-level nodes
2019-01-03 19:11:36 +02:00
z7zmey
d7ca55693f #70: [php5] inherit meta.Data 2019-01-03 19:03:20 +02:00
z7zmey
1ee63c5e63 #70: [php7] fix saving meta for *expr.NewArrayDimFetch at encaps_var 2019-01-03 19:02:58 +02:00
z7zmey
e8cd06a391 #70: remove constant UseLeadingNsSeparatorToken 2019-01-02 23:23:21 +02:00
z7zmey
28e5540108 #70: [php5] inherit meta.Data at stmt.Use 2019-01-02 23:22:28 +02:00
z7zmey
b5ff3ac2f7 #70: [php7] fix inheriting meta.Data at stmt.GroupUse, stmt.Use 2019-01-02 23:21:09 +02:00
z7zmey
4abd14d2a6 #70: [php7] inherit meta.Data at expr.FunctionCall, expr.StaticCall, expr.ConstFetch, expr.ArrayDimFetch, expr.MethodCall, expr.PropertyFetch, expr.StaticPropertyFetch, expr.ArrayItem 2018-12-31 18:43:13 +02:00
z7zmey
a0dda154bf #70: [php7] inherit meta.Data at stmt.Property, stmt.Constant, stmt.Class, expr.PostDec, expr.PostInc, expr.Ternary and assign, binary nodes 2018-12-31 17:13:05 +02:00
z7zmey
efbc5b2291 #70: [php7] fix meta filter 2018-12-31 17:06:27 +02:00
z7zmey
254f7a2167 #70: [php7] inherit meta.Data at node.Argument, stmt.PropertyList, stmt.ClassConstList, stmt.ClassMethod, stmt.TraitUsePrecedence, stmt.TraitUseAlias, stmt.TraitMethodRef 2018-12-26 12:13:32 +02:00