Commit Graph

114 Commits

Author SHA1 Message Date
Ryan Chandler
f5c3143468
all: clippy 2022-07-26 17:56:10 +01:00
Ryan Chandler
013e2403ad
parser: abstract block logic 2022-07-26 17:54:03 +01:00
Ryan Chandler
dc7604f7ad
parser: abstract parameter list logic 2022-07-26 17:48:28 +01:00
Ryan Chandler
e52dd5db95
Merge branch 'main' of github.com:ryangjchandler/trunk 2022-07-26 14:23:18 +01:00
Ryan Chandler
d30e252c9d
all: remove let_chains feature 2022-07-26 14:07:08 +01:00
Ryan Chandler
fcb9e8741b
Merge pull request #3 from Dohxis/feat/else-if-statements
Feat/else if statements
2022-07-26 14:06:08 +01:00
Domantas
72ff4cdcc2 parser: add elseif test 2022-07-26 14:44:06 +02:00
Domantas
ba3ae0ee06 parser: support else if statements 2022-07-26 14:39:22 +02:00
Ryan Chandler
074a84c42c
Merge pull request #2 from Dohxis/parser/if-else-statements 2022-07-26 12:15:07 +01:00
Domantas
be71eff76c parser: support else statements 2022-07-26 12:48:37 +02:00
Ryan Chandler
ce57758042
parser: support method calls 2022-07-26 11:29:42 +01:00
Ryan Chandler
2d332f90e4
parser: support property fetches 2022-07-26 11:21:05 +01:00
Ryan Chandler
2654286ddb
Merge branch 'main' of github.com:ryangjchandler/trunk 2022-07-26 11:12:55 +01:00
Ryan Chandler
e781ed186d
lexer: produce arrow tokens 2022-07-26 10:47:26 +01:00
Ryan Chandler
61c76ad49a
Merge pull request #1 from Dohxis/feat/one-liner-if-statement 2022-07-26 10:45:22 +01:00
Ryan Chandler
e657b296d6
Update tests.yml 2022-07-26 10:45:12 +01:00
Domantas
bd79c2cf09 parser: support one-liner if statements 2022-07-26 10:27:57 +02:00
Ryan Chandler
0cb97f3f66
parser: support constant string expressions and concats 2022-07-25 20:27:17 +01:00
Ryan Chandler
be40cd61c4
parser: support basic math ops 2022-07-25 20:16:18 +01:00
Ryan Chandler
53c7970f83
all: clippy 2022-07-25 19:15:55 +01:00
Ryan Chandler
570433de1c
parser: support basic new expressions 2022-07-25 19:15:09 +01:00
Ryan Chandler
b0ce1bdd30
lexer: produce new tokens 2022-07-25 19:06:53 +01:00
Ryan Chandler
3b9737b9c1
parser: todo 2022-07-25 19:01:16 +01:00
Ryan Chandler
5bba0f7269
parser: support long and short closures 2022-07-25 19:00:26 +01:00
Ryan Chandler
d20e35d1a8
parser: basic support for trait uses in classes 2022-07-25 17:01:36 +01:00
Ryan Chandler
a9ced4460a
parser: support full trait-definitions 2022-07-25 14:30:47 +01:00
Ryan Chandler
04d2d46472
parser: support empty trait definitions 2022-07-25 14:22:52 +01:00
Ryan Chandler
7cf833800e
lexer: produce trait tokens 2022-07-25 14:21:13 +01:00
Ryan Chandler
c5d89f8881
all: clippy 2022-07-25 01:17:17 +01:00
Ryan Chandler
79e726054b
parser: support interface statements with extends 2022-07-25 01:08:10 +01:00
Ryan Chandler
67b4a086a1
lexer: produce interface tokens 2022-07-25 00:58:04 +01:00
Ryan Chandler
f710962ab7
parser: todo 2022-07-25 00:48:53 +01:00
Ryan Chandler
201a89fc4d
parser: support a fuller class parsing structure 2022-07-25 00:46:10 +01:00
Ryan Chandler
2948a2e0af
parser: support types on class var statements 2022-07-24 19:41:05 +01:00
Ryan Chandler
a1a00c6f8f
parser: support grouped expressions 2022-07-23 16:34:15 +01:00
Ryan Chandler
e15aafc3f3
parser: support function return types 2022-07-23 16:13:35 +01:00
Ryan Chandler
401ea81a5e
parser: add tests for param types 2022-07-23 16:08:58 +01:00
Ryan Chandler
cb2fb3b8c9
parser: support intersection type-strings 2022-07-23 16:04:21 +01:00
Ryan Chandler
a8f06eb17c
lexer: rename BitAnd to Ampersand for consistency with Pipe 2022-07-23 16:04:11 +01:00
Ryan Chandler
14a57a6c9c
parser: support union type strings 2022-07-23 16:01:11 +01:00
Ryan Chandler
9b82f360fa
lexer: produce pipe tokens 2022-07-23 15:53:15 +01:00
Ryan Chandler
13d0aa21cd
parser: support nullable types 2022-07-23 15:51:16 +01:00
Ryan Chandler
8e1b13f715
parser: support basic type strings 2022-07-23 15:49:27 +01:00
Ryan Chandler
f7ae736891
parser: move into a module folder 2022-07-23 13:57:32 +01:00
Ryan Chandler
c1faec57b5
all: clippy 2022-07-23 13:44:28 +01:00
Ryan Chandler
f1dcd0131c
parser: temp logic for comments inside of classes 2022-07-22 17:57:09 +01:00
Ryan Chandler
8ebd8862ae
lexer: ensure multi-line comments get closed 2022-07-22 17:56:43 +01:00
Ryan Chandler
e4fe6aaa06
parser: bodge and put comments into their own ast node 2022-07-22 16:59:53 +01:00
Ryan Chandler
1150804fe7
parser: support use statements 2022-07-22 16:56:10 +01:00
Ryan Chandler
8042a6f33f
parser: support namespace statements with blocks or one-liners 2022-07-22 16:44:26 +01:00