Commit Graph

580 Commits

Author SHA1 Message Date
Ryan Chandler
d078d20516
Merge pull request #104 from ryangjchandler/feature/short-ifs 2022-09-16 23:48:34 +01:00
Ryan Chandler
68abf6a3c6
chore: format 2022-09-16 23:47:43 +01:00
Ryan Chandler
dc67ca1040
parser: support short-hand else 2022-09-16 23:47:32 +01:00
Ryan Chandler
1eae564bca
parser: support shorthand elseifs 2022-09-16 23:45:07 +01:00
Ryan Chandler
425a5e12af
parser: support a basic shorthand if 2022-09-16 23:40:32 +01:00
Ryan Chandler
d19f7d5827
parser: add basic short if test case 2022-09-16 23:34:38 +01:00
Ryan Chandler
c2486d39db
Merge pull request #103 from ryangjchandler/feature/yields 2022-09-16 23:20:04 +01:00
Ryan Chandler
afa88ee664
parser: support all forms of yield/yield from 2022-09-16 23:18:31 +01:00
Ryan Chandler
6820d09938
parser: support empty yield expressions 2022-09-16 23:08:38 +01:00
Ryan Chandler
fc9aa62cff
Merge pull request #102 from ryangjchandler/feature/all-assignment-ops 2022-09-16 16:22:36 +01:00
Ryan Chandler
27d5705f85
parser/lexer: implement all assignment ops 2022-09-16 16:16:14 +01:00
Ryan Chandler
5a0fe5beb2
Merge pull request #101 from ryangjchandler/feature/infix-ops 2022-09-16 15:22:27 +01:00
Ryan Chandler
79bf633fac
chore: format 2022-09-16 15:20:49 +01:00
Ryan Chandler
e2065bf029
parser: support logical and, or, xor op 2022-09-16 15:20:16 +01:00
Ryan Chandler
a6388b3c57
parser: support <=> op 2022-09-16 15:16:23 +01:00
Ryan Chandler
a7d74e6b2d
parser/lexer: support <> op 2022-09-16 15:14:46 +01:00
Ryan Chandler
d99d931107
parser: support bitwise xor 2022-09-16 15:11:54 +01:00
Ryan Chandler
459bc0f0fb
parser: support bitwise & and | op 2022-09-16 15:10:43 +01:00
Ryan Chandler
274fc7c0d6
parser: support left and right shift op 2022-09-16 15:09:10 +01:00
Ryan Chandler
fb8ebd2484
parser: support % op 2022-09-16 15:07:41 +01:00
Ryan Chandler
50cc9aa5d2
Merge pull request #100 from ryangjchandler/feature/all-unary-ops 2022-09-16 15:01:34 +01:00
Ryan Chandler
d4c9db4203
parser: support print expressions 2022-09-16 14:59:44 +01:00
Ryan Chandler
4ea318d42e
parser: support pre dec/inc ops 2022-09-16 14:54:48 +01:00
Ryan Chandler
33a481f13a
parser/lexer: support unary bitwise not 2022-09-16 14:47:06 +01:00
Ryan Chandler
b6f61bb344
parser: support unary plus op 2022-09-16 14:43:44 +01:00
Ryan Chandler
37029e4e41
Merge pull request #99 from ryangjchandler/feature/prefix-casts 2022-09-16 14:39:20 +01:00
Ryan Chandler
dee9eb7f23
parser/lexer: support all types of prefix cast 2022-09-16 14:37:06 +01:00
Ryan Chandler
0d8eea9ca6
all: clippy 2022-09-16 14:25:01 +01:00
Ryan Chandler
7677435f6e
Merge pull request #98 from ryangjchandler/refactor/args 2022-09-16 14:23:20 +01:00
Ryan Chandler
86638611f7
chore: only run pull_request on opened/reopened 2022-09-16 14:22:00 +01:00
Ryan Chandler
7ea487f026
chore: format 2022-09-16 14:21:25 +01:00
Ryan Chandler
25f6e7ca45
parser: abstract call argument parsing logic 2022-09-16 14:20:54 +01:00
Ryan Chandler
5dcf047d3a
Merge pull request #96 from ryangjchandler/fix/new-expressions 2022-09-16 11:43:45 +01:00
Ryan Chandler
4dcb84b428
chore: format 2022-09-16 11:31:38 +01:00
Ryan Chandler
5420b42f57
parser: fix new expressions being parsed incorrectly 2022-09-16 11:30:41 +01:00
Ryan Chandler
8dc0052bf4
Merge pull request #95 from ryangjchandler/feature/unpack-array-items 2022-09-16 11:23:10 +01:00
Ryan Chandler
9ca03f5fdd
parser: support unpacking array items 2022-09-16 11:21:18 +01:00
Ryan Chandler
df92c31adf
Merge pull request #93 from ryangjchandler/feature/variable-variables 2022-09-16 11:11:17 +01:00
Ryan Chandler
18b91ce1cd
parser: support braced static method calls 2022-09-16 11:10:05 +01:00
Ryan Chandler
d757358bea
parser: support variable static method calls 2022-09-16 11:03:35 +01:00
Ryan Chandler
15e84edab6
parser: support static variable variable property fetches 2022-09-16 10:43:18 +01:00
Ryan Chandler
c91d7a495f
parser: support variable variable property fetch and method calls 2022-09-16 10:40:37 +01:00
Ryan Chandler
ac97dbf2fa
parser: test variable variable method calls 2022-09-16 10:28:16 +01:00
Ryan Chandler
63aa82a1cd
parser: support variable variables 2022-09-16 10:26:11 +01:00
Ryan Chandler
d28b93a4e8
Merge pull request #92 from ryangjchandler/feature/braced-variables 2022-09-16 10:23:07 +01:00
Ryan Chandler
59ebb1ed2d
parser: add test case for call inside braced var 2022-09-16 10:21:37 +01:00
Ryan Chandler
5cc76b4f3d
parser: support braced variables 2022-09-16 10:20:38 +01:00
Ryan Chandler
9353c8fab1
lexer: produce single dollar tokens 2022-09-16 10:09:29 +01:00
Ryan Chandler
21ebbbd62d
Merge pull request #91 from ryangjchandler/feature/nullsafe-method-calls 2022-09-16 10:05:00 +01:00
Ryan Chandler
dab4b9d8f4
chore: format 2022-09-16 10:03:28 +01:00