Commit Graph

940 Commits

Author SHA1 Message Date
Vadym Slizov
009d638ee2 [refactoring] version testing 2020-05-18 22:37:13 +03:00
Vadym Slizov
21f3d88b0f [refactoring] update makefile 2020-05-18 22:36:39 +03:00
Vadym Slizov
a636a14faa [refactoring] remove scanner interface 2020-05-18 21:44:03 +03:00
Vadym Slizov
436287bbe1 [refactoring] scanner DefaultConfig 2020-05-18 21:40:49 +03:00
Vadym Slizov
d9a7d20e73 [refactoring] scanner.Lexer.withHiddenTokens 2020-05-18 21:37:37 +03:00
Vadym Slizov
291dc7e884 [refactoring] move errors from scanner to parser 2020-05-18 20:07:17 +03:00
Vadym Slizov
4f79d47b1e [refactoring] remove unused scanner.Lexer.lastToken field 2020-05-18 01:03:20 +03:00
Vadym Slizov
3bee91c972 [refactoring] remove scanner.Lval interface 2020-05-18 01:01:35 +03:00
Vadym Slizov
8a50bd254a [refactoring] remove scanner.Lexer.PhpDocComment 2020-05-18 00:23:02 +03:00
Vadym Slizov
5620697cab [refactoring] rename struct field scanner.Token.Hidden 2020-05-18 00:19:18 +03:00
Vadym Slizov
e98607f5d0 [refactoring] use position.Position to store token position 2020-05-17 23:50:23 +03:00
Vadym Slizov
f4c15f4671 [refactoring] fix tests 2020-05-17 23:16:01 +03:00
Vadym Slizov
4971309b75 refactor printer 2020-05-17 22:56:32 +03:00
Vadym Slizov
50f8a47119 update tests 2020-05-14 19:12:13 +03:00
Vadym Slizov
12086ef6b6 refactor cmd 2020-05-14 19:12:06 +03:00
Vadym Slizov
7e07f1ca26 refactor php5 2020-05-13 20:18:53 +03:00
Vadym Slizov
6a84d58ee6 refactor php7 2020-05-13 00:16:36 +03:00
Vadym Slizov
aab9da03f0 refactor position package 2020-05-10 08:53:17 +03:00
Vadym Slizov
3b9ef2b56d refactor position package 2020-05-10 08:53:00 +03:00
Vadym Slizov
60f171bfa1 refactor token structure 2020-05-10 08:47:13 +03:00
Vadym Slizov
10e2a3f3f7 New AST structure 2020-05-10 08:17:24 +03:00
Vadym Slizov
d7e0c8f6da update .travis.yml 2020-03-09 13:55:35 +02:00
Vadym Slizov
5b5e414359
Merge pull request #103 from z7zmey/dev
merge dev to master
2020-03-09 13:36:33 +02:00
Vadym Slizov
386eb124df Merge branch 'master' into dev 2020-03-09 13:34:36 +02:00
Vadym Slizov
3383679bc8 update readme 2020-03-09 12:44:10 +02:00
Vadym Slizov
18844b4595 update stringer generated files 2020-03-09 11:58:18 +02:00
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
z7zmey
c97ca17c6a [#96] handle lexer errors 2019-08-20 21:51:45 +03:00
Vadym Slizov
5110c36dca
Update README.md 2019-08-19 15:44:38 +03:00
Vadym Slizov
effaa5a685
Merge pull request #95 from quasilyte/patch-1
readme: mention phpgrep in "who uses"
2019-08-19 15:43:16 +03:00
Iskander (Alex) Sharipov
32c9a7394c
readme: mention phpgrep in "who uses" 2019-08-13 04:00:36 +03: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