Commit Graph

400 Commits

Author SHA1 Message Date
Ryan Chandler
2521727a6e
Merge pull request #56 from ryangjchandler/feature/basic-declare-support 2022-09-13 01:01:25 +01:00
Ryan Chandler
d9d3ffbb47
parser: support declare statement with postfix block 2022-09-13 00:59:12 +01:00
Ryan Chandler
bbfce83894
parser: add test case for multiple declares in same statement 2022-09-13 00:54:01 +01:00
Ryan Chandler
a48258146d
parser: support basic declare statements 2022-09-13 00:53:18 +01:00
Ryan Chandler
980b1c1d9c
Merge pull request #55 from ryangjchandler/feature/global-statement 2022-09-13 00:47:52 +01:00
Ryan Chandler
ce49b01cca
chore: format 2022-09-13 00:46:58 +01:00
Ryan Chandler
c5e4632c15
parser: support global statements 2022-09-13 00:46:37 +01:00
Ryan Chandler
622677ebdd
Merge pull request #54 from ryangjchandler/feature/top-level-constants 2022-09-13 00:40:57 +01:00
Ryan Chandler
5538c1e421
chore: format 2022-09-13 00:39:25 +01:00
Ryan Chandler
799189a5ed
parser: support top-level constants 2022-09-13 00:37:59 +01:00
Ryan Chandler
9358503d3f
Merge pull request #53 from ryangjchandler/fix/catch-without-variable 2022-09-13 00:33:27 +01:00
Ryan Chandler
55d94b70fa
parser: support catch conditions without variables 2022-09-13 00:32:07 +01:00
Ryan Chandler
b070f7b07b
Merge pull request #52 from ryangjchandler/fix/nullsafe-property-fetch 2022-09-13 00:27:14 +01:00
Ryan Chandler
89c96f13e8
chore: format 2022-09-13 00:26:59 +01:00
Ryan Chandler
1e94b05ba6
lexer: fix nullsafe arrow token skipping too many characters 2022-09-13 00:25:59 +01:00
Ryan Chandler
948c2cf561
Merge pull request #40 from ryangjchandler/feature/error-suppress-expression 2022-09-12 15:17:21 +01:00
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