Ryan Chandler
|
ba73ddbac3
|
all: clippy
|
2022-09-14 12:04:38 +01:00 |
|
Ryan Chandler
|
16af78d56d
|
chore: format
|
2022-09-14 12:01:30 +01:00 |
|
Ryan Chandler
|
2b7d41812f
|
parser: get failing test cases passing on precedence changes
|
2022-09-14 12:01:10 +01:00 |
|
Ryan Chandler
|
b384bb81ec
|
parser: prevent non-associative and equal precedence operators being used in same expression
|
2022-09-13 21:01:30 +01:00 |
|
Ryan Chandler
|
be4e54c5be
|
parser: add associativity mappings
|
2022-09-13 20:46:16 +01:00 |
|
Ryan Chandler
|
f4de25d2dc
|
parser: add precedence for ** operator
|
2022-09-13 15:24:16 +01:00 |
|
Ryan Chandler
|
ee253d510e
|
parser: move expression method over to Precedence logic
|
2022-09-13 15:20:40 +01:00 |
|
Ryan Chandler
|
5874fc50e0
|
chore: format
|
2022-09-13 14:10:49 +01:00 |
|
Ryan Chandler
|
9b3fbd12a4
|
parser: map some operators to new precedence
|
2022-09-13 14:10:48 +01:00 |
|
Ryan Chandler
|
860e16368b
|
parser: create Precedence and Associativity enums
|
2022-09-13 14:09:20 +01:00 |
|
Ryan Chandler
|
067bac959a
|
parser: support backed enums with cases that have no backing value
|
2022-09-13 12:15:29 +01:00 |
|
Ryan Chandler
|
e63fe36008
|
all: clippy
|
2022-09-13 12:11:33 +01:00 |
|
Ryan Chandler
|
4f64297907
|
parser: support readonly class properties
|
2022-09-13 12:08:41 +01:00 |
|
Ryan Chandler
|
5e91a16175
|
parser: support readonly classes
|
2022-09-13 12:02:20 +01:00 |
|
Evan Shaw
|
032d5539e8
|
Switch cases can be terminated with semicolons
|
2022-09-13 22:53:07 +12:00 |
|
Ryan Chandler
|
48236ceb9e
|
parser: add support for multiple constants in one statement
|
2022-09-13 11:50:40 +01:00 |
|
Ryan Chandler
|
8191b56795
|
chore: format
|
2022-09-13 11:41:53 +01:00 |
|
Ryan Chandler
|
61c04bb616
|
fix: support empty array items
|
2022-09-13 11:41:02 +01:00 |
|
Evan Shaw
|
d803e53a0a
|
Remove serde dependency
|
2022-09-13 22:24:31 +12:00 |
|
Evan Shaw
|
447b1be197
|
Use ByteString through lexer and parser
|
2022-09-13 22:03:09 +12:00 |
|
Evan Shaw
|
4c7047fbd1
|
Lex and parse in terms of bytes rather than characters
|
2022-09-13 17:01:24 +12: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
|
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
|
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
|
55d94b70fa
|
parser: support catch conditions without variables
|
2022-09-13 00:32:07 +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
|
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
|
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
|
bdce626104
|
lexer&parser: better support for close tags
|
2022-09-12 12:31:01 +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 |
|
Evan Shaw
|
af1261355a
|
Parse include and include_once
|
2022-09-12 22:29:28 +12:00 |
|
Ryan Chandler
|
1f00bb69c0
|
parser/docs: better README
|
2022-09-12 00:45: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 |
|
Evan Shaw
|
681c201c3c
|
Add support for block statements
|
2022-09-12 09:00:32 +12:00 |
|
Evan Shaw
|
eec4a90fe1
|
rustfmt the rest of files
|
2022-09-12 07:45:05 +12:00 |
|
Ryan Chandler
|
aa2a6c8507
|
parser: Visitor trait for traversal
|
2022-08-22 19:05:06 +01:00 |
|
Ryan Chandler
|
a2cad0b630
|
parser: README
|
2022-08-11 14:54:32 +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 |
|