Ryan Chandler
|
d85913665f
|
chore: format
|
2022-09-12 15:16:07 +01:00 |
|
Ryan Chandler
|
fb8915819d
|
parser: support for error suppress expressions
|
2022-09-12 15:15:18 +01:00 |
|
Ryan Chandler
|
5496276f60
|
Merge pull request #39 from ryangjchandler/fix/parse-more-complex-types
|
2022-09-12 13:01:03 +01:00 |
|
Ryan Chandler
|
04d9c3be55
|
chore: format
|
2022-09-12 13:00:17 +01:00 |
|
Ryan Chandler
|
9953be3ab1
|
parser: add special Type::Void case
|
2022-09-12 12:48:52 +01:00 |
|
Ryan Chandler
|
c4fdc85d64
|
parser: support multiple unions and intersections
|
2022-09-12 12:45:31 +01:00 |
|
Ryan Chandler
|
2e450cea70
|
Merge pull request #38 from ryangjchandler/fix/close-tag-followed-by-content
|
2022-09-12 12:39:04 +01:00 |
|
Ryan Chandler
|
bdce626104
|
lexer&parser: better support for close tags
|
2022-09-12 12:31:01 +01:00 |
|
Ryan Chandler
|
028e2de1d3
|
Merge pull request #35 from ryangjchandler/feature/do-while-loops
|
2022-09-12 12:11:56 +01:00 |
|
Ryan Chandler
|
62eb62e2fe
|
chore: format
|
2022-09-12 12:09:48 +01:00 |
|
Ryan Chandler
|
22de6202e1
|
parser: add test with body for do/while
|
2022-09-12 12:09:20 +01:00 |
|
Ryan Chandler
|
a897328b69
|
parser: support do/while statements
|
2022-09-12 12:07:29 +01:00 |
|
Ryan Chandler
|
0f0629ff8b
|
Merge pull request #31 from edsrzf/parse-include
|
2022-09-12 11:45:51 +01:00 |
|
Ryan Chandler
|
31822e3579
|
Merge pull request #30 from edsrzf/lex-variable-fix
|
2022-09-12 11:44:46 +01:00 |
|
Evan Shaw
|
af1261355a
|
Parse include and include_once
|
2022-09-12 22:29:28 +12:00 |
|
Evan Shaw
|
eb4398b0bd
|
Fix off-by-one error when lexing variable names
This meant a variable named $a1 was treated as two separate tokens: the
variable $a, and an integer literal.
|
2022-09-12 22:05:46 +12:00 |
|
Ryan Chandler
|
1f00bb69c0
|
parser/docs: better README
|
2022-09-12 00:45:42 +01:00 |
|
Ryan Chandler
|
30cf2c2578
|
docs: missing word
|
2022-09-12 00:43:31 +01:00 |
|
Ryan Chandler
|
e05dae49d1
|
docs: better README
|
2022-09-12 00:42:34 +01:00 |
|
Ryan Chandler
|
fa127dd216
|
docs: README changes
|
2022-09-12 00:32:25 +01:00 |
|
Ryan Chandler
|
0142c74582
|
docs: add Discord link to README
|
2022-09-12 00:28:42 +01:00 |
|
Ryan Chandler
|
cd6efc57bb
|
parser: fix comments at end of class not being skipped
Closes #29.
|
2022-09-12 00:24:04 +01:00 |
|
Ryan Chandler
|
a7457dd9df
|
meta: remove old scripts
|
2022-09-12 00:15:22 +01:00 |
|
Ryan Chandler
|
47fd6a25bc
|
Merge pull request #28 from edsrzf/block-statement
|
2022-09-11 22:06:20 +01:00 |
|
Evan Shaw
|
681c201c3c
|
Add support for block statements
|
2022-09-12 09:00:32 +12:00 |
|
Ryan Chandler
|
9298288aee
|
Merge pull request #27 from edsrzf/rustfmt
|
2022-09-11 21:47:51 +01:00 |
|
Evan Shaw
|
1617ac9d00
|
Fix --all flag
Co-authored-by: Ryan Chandler <ryangjchandler@gmail.com>
|
2022-09-12 08:32:45 +12:00 |
|
Evan Shaw
|
17ee655bb7
|
rustfmt CI check
|
2022-09-12 07:46:34 +12:00 |
|
Evan Shaw
|
eec4a90fe1
|
rustfmt the rest of files
|
2022-09-12 07:45:05 +12:00 |
|
Ryan Chandler
|
43a50b11ba
|
Merge pull request #25 from edsrzf/no-nightly
|
2022-09-11 15:27:36 +01:00 |
|
Evan Shaw
|
2da98618d3
|
Switch CI build to stable toolchain
|
2022-09-11 16:09:42 +12:00 |
|
Evan Shaw
|
7b20d86777
|
Remove nightly Rust requirement
|
2022-09-11 16:04:55 +12:00 |
|
Evan Shaw
|
7d503e0c33
|
Rustfmt lexer
|
2022-09-11 15:53:09 +12:00 |
|
Ryan Chandler
|
bf7c95d09a
|
compiler/runtime: support var_dump
|
2022-09-03 16:35:17 +01:00 |
|
Ryan Chandler
|
dd3673ea3e
|
feature: basic PoC for compiling PHP to a Go-based runtime and custom IR
|
2022-09-02 23:38:05 +01:00 |
|
Ryan Chandler
|
7134db9472
|
wip
|
2022-09-01 15:52:19 +01:00 |
|
Ryan Chandler
|
aa2a6c8507
|
parser: Visitor trait for traversal
|
2022-08-22 19:05:06 +01:00 |
|
Ryan Chandler
|
241eca2fb4
|
compiler: init
|
2022-08-11 17:20:00 +01:00 |
|
Ryan Chandler
|
0531ed39b9
|
phpast: goodbye
|
2022-08-11 17:14:31 +01:00 |
|
Ryan Chandler
|
a2cad0b630
|
parser: README
|
2022-08-11 14:54:32 +01:00 |
|
Ryan Chandler
|
cdeb92ac30
|
phpast: opt-in printing out AST
|
2022-08-10 00:51:06 +01:00 |
|
Ryan Chandler
|
0627e05642
|
parser: support /=
|
2022-08-10 00:50:04 +01:00 |
|
Ryan Chandler
|
a83f1b80bb
|
parser: support double/float cast
|
2022-08-10 00:46:27 +01:00 |
|
Ryan Chandler
|
5a44de9650
|
parser: support int cast
|
2022-08-10 00:41:35 +01:00 |
|
Ryan Chandler
|
976e303a8a
|
parser: skip comments in expect macro
|
2022-08-10 00:39:41 +01:00 |
|
Ryan Chandler
|
479ed3a0eb
|
parser: add namespace as soft reserved
|
2022-08-10 00:38:00 +01:00 |
|
Ryan Chandler
|
ab1adb19a0
|
parser: skip more comments...
|
2022-08-10 00:37:24 +01:00 |
|
Ryan Chandler
|
d97e23db94
|
parser: support array type in class props
|
2022-08-10 00:35:54 +01:00 |
|
Ryan Chandler
|
4068931aa1
|
parser: support named args in new expressions
|
2022-08-10 00:34:22 +01:00 |
|
Ryan Chandler
|
cd45e0a423
|
parser: add support for (bool) cast
|
2022-08-10 00:31:00 +01:00 |
|