Ryan Chandler
|
86616bdc69
|
chore: regen fixtures
|
2022-12-10 17:04:31 +00:00 |
|
Saif Eddin Gmati
|
239bd69b86
|
chore: allow static, self, and parent in exprs (#195)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-10 16:36:24 +01:00 |
|
Saif Eddin Gmati
|
6a6d4d0e5f
|
chore: refactor ident and dynamic var parsers (#192)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-10 15:24:55 +01:00 |
|
Ryan Chandler
|
0ee981aed6
|
parser: separate infix operations into new expressions (#188)
|
2022-12-09 22:34:29 +00:00 |
|
Saif Eddin Gmati
|
c93634a62b
|
chore: refactor class and trait ast (#189)
Signed-off-by: azjezz <azjezz@protonmail.com>
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-09 22:05:03 +01:00 |
|
Ryan Chandler
|
aeb10f1777
|
parser: use separate expression for parenthesized expressions
|
2022-12-09 15:54:51 +00:00 |
|
Saif Eddin Gmati
|
5127b2116d
|
chore: refactor interface ast (#187)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-09 14:42:46 +01:00 |
|
Saif Eddin Gmati
|
89866d952c
|
chore: allow soft reserved keywords to be used as function names (#185)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-09 07:57:02 +01:00 |
|
Ryan Chandler
|
825577d18d
|
fix: better heredoc/nowdoc implementation (#183)
|
2022-12-09 01:44:20 +00:00 |
|
Saif Eddin Gmati
|
bd2023c3c4
|
chore: remove fallback expression parser (#181)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 21:34:16 +01:00 |
|
Ryan Chandler
|
00834ed3ff
|
parser: support blockless statements
Closes #33.
|
2022-12-08 19:32:13 +00:00 |
|
Saif Eddin Gmati
|
b72751d3c7
|
chore: remove tokens test (#180)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 18:47:54 +01:00 |
|
Saif Eddin Gmati
|
4d0cd75fa9
|
fix: fix parsing by_ref parameters (#179)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-08 18:07:03 +01:00 |
|
azjezz
|
ede98233c5
|
chore: fix tests
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 23:14:28 +01:00 |
|
azjezz
|
ad0623ed20
|
chore: remove Parser structure
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 23:11:37 +01:00 |
|
azjezz
|
8de571f97f
|
fix: don't allow static, parent, and self as expressions
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 21:00:35 +01:00 |
|
Saif Eddin Gmati
|
52b60e11f8
|
chore: separate source from state (#173)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 16:58:59 +01:00 |
|
azjezz
|
972fbfa046
|
chore: fix tests
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-07 09:01:54 +01:00 |
|
Ryan Chandler
|
054b10667b
|
parser: support bodyless while statements
|
2022-12-07 00:38:05 +00:00 |
|
Ryan Chandler
|
897a2a0131
|
parser: support one-liner if statements
|
2022-12-07 00:34:34 +00:00 |
|
Ryan Chandler
|
12c7c14c39
|
parser: support bodyless else statements
|
2022-12-07 00:28:30 +00:00 |
|
Ryan Chandler
|
f17fd22cdb
|
fix: store integers and floats as ByteStrings with notation (#170)
|
2022-12-06 18:13:45 +00:00 |
|
Ryan Chandler
|
7d153443f6
|
lexer&parser: make self and parent dedicated token kinds (#169)
|
2022-12-06 15:41:09 +00:00 |
|
Ryan Chandler
|
07b7cf9104
|
parser: disallow using positional arguments after named arguments (#168)
|
2022-12-06 15:40:58 +00:00 |
|
Saif Eddin Gmati
|
a3e0614f30
|
chore: small changes regarding node span (#164)
|
2022-12-06 11:54:12 +01:00 |
|
Ryan Chandler
|
7750ed39e6
|
feature: add support for list expressions (#163)
|
2022-12-06 10:31:40 +00:00 |
|
azjezz
|
eed02aa4e2
|
chore: finish refactoring flags -> modifiers, and fix end span for functions and enums
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-06 09:51:13 +01:00 |
|
Saif Eddin Gmati
|
9a2a903fb9
|
chore: refactor ast (#162)
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-06 09:33:29 +01:00 |
|
Ryan Chandler
|
2020c66cd8
|
lexer: fix escape sequences creating separate idents
|
2022-12-05 19:40:33 +00:00 |
|
azjezz
|
59fc4af394
|
fix: allow static closures to use self/static/parent types if they are within class scope
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-05 19:59:50 +01:00 |
|
azjezz
|
f92b8c4c73
|
fix improve dnf types parser
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-05 19:46:21 +01:00 |
|
azjezz
|
e23c80a3a3
|
fix: fix test
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-05 18:41:04 +01:00 |
|
azjezz
|
479f51913c
|
chore: remove build script
Signed-off-by: azjezz <azjezz@protonmail.com>
|
2022-12-05 18:36:04 +01:00 |
|