Commit Graph

36 Commits

Author SHA1 Message Date
Laytan Laats
66cc411e7c refactor: change makefile to reflect drop of php5 and run make 2023-03-25 15:29:51 +01:00
Makhnev Petr
689cca66c4
.github: setup GitHub related things (#13)
- Added Github Actions
- Replaced `ISSUE_TEMPLATE.md`
2021-07-31 20:01:44 +03:00
Makhnev Petr
049ce7ddc6
PHP 8 (#1)
PHP 8 Update

- nullsafe operator (?->)
- Remove (real) cast
- Named arguments
- Remove (unset) cast
- Remove {} access
- match expression
- Union types in type hints and static typehint
- Block catch without variable
- Trailing comma in parameter lists
- throw can be used as an expression
- Concatenation precedence
- Declaring properties in the constructor
- Attributes
- Names in the namespace are treated as a single token
- Trailing comma in closure use list
- Check that ::class on object works
- Deferencable changes and arbitrary expressions in new/instanceof
2021-07-30 20:53:27 +03:00
Vadym Slizov
f3a605aba1
[refactoring] update position builder 2020-12-08 02:08:59 +02:00
Vadym Slizov
21f3d88b0f [refactoring] update makefile 2020-05-18 22:36:39 +03:00
Vadym Slizov
12086ef6b6 refactor cmd 2020-05-14 19:12:06 +03:00
Vadym Slizov
6a84d58ee6 refactor php7 2020-05-13 00:16:36 +03:00
z7zmey
e27faddfa5 change //line comments to fix debug information 2020-01-08 09:47:23 +02:00
z7zmey
2c649159c7 #80 implement Ragel based lexer 2019-03-20 21:06:56 +02:00
z7zmey
15a1a81924 #13: the printer prints nodes with meta(comments and whitespaces) saved by the parser 2018-07-08 01:48:52 +03:00
z7zmey
978e609f29 fmt 2018-07-01 00:38:31 +03:00
z7zmey
8de55d266c Makefile is updated 2018-07-01 00:35:32 +03:00
z7zmey
ca5c3bbfff cli: add -prof flag 2018-06-21 20:37:34 +03:00
z7zmey
58597aae21 #28 fix race conditions 2018-06-06 19:47:28 +03:00
z7zmey
b4f51d58af update profiling commands 2018-06-05 01:20:57 +03:00
z7zmey
112ef18501 added profiling commands to Makefile 2018-06-05 00:09:21 +03:00
z7zmey
6ff2beafa3 update tests 2018-04-09 23:26:44 +03:00
z7zmey
90f451293d update Makefile 2018-02-24 00:19:05 +02:00
z7zmey
014b0576d6 fix Makefile, run gofmt on the all go files 2018-02-19 13:00:58 +02:00
z7zmey
f107e8bb57 add php5 and php7 benchmark 2018-02-18 14:25:20 +02:00
z7zmey
d7d17326b6 stmt visitor tests 2018-02-06 19:11:47 +02:00
z7zmey
b06fd9887d rename files add prefixes for nodes and tests files 2018-02-06 17:38:49 +02:00
z7zmey
f546db54b6 cmd: add php5 flag 2018-02-06 12:39:42 +02:00
z7zmey
e1993b7b5c prepare php5 parser files 2018-01-26 15:24:56 +02:00
z7zmey
1a045403db refactor php7parser 2018-01-25 17:42:15 +02:00
z7zmey
b93d24f95f split scanner and parser 2018-01-24 18:42:23 +02:00
z7zmey
f6911a76b1 rename php7 parser 2018-01-17 19:16:06 +02:00
z7zmey
621c18ba27 update Makefile 2018-01-13 02:03:47 +02:00
z7zmey
091ba559b4 update Makefile 2018-01-13 01:59:24 +02:00
vadim
7ee3f616f8 improve Makefile allow call make run PHPFILE=/path/to/php/file/to/parse 2018-01-05 13:17:59 +02:00
vadim
7c3d593097 test scalar string 2017-12-04 12:40:36 +02:00
z7zmey
880749fbda parse files 2017-12-01 18:04:31 +02:00
vadim
bc6d25a7cc split scanner and lexer 2017-12-01 15:36:46 +02:00
vadim
c11d3ece0d parser, first try 2017-11-23 17:33:47 +02:00
vadim
427714df44 remove unused files 2017-11-22 12:06:56 +02:00
z7zmey
599def1384 first commit 2017-11-11 18:15:00 +02:00