Commit Graph

138 Commits

Author SHA1 Message Date
Ryan Chandler
30afcce2d5
parser: support array indexing 2022-07-28 15:44:46 +01:00
Ryan Chandler
ea1365c77d
parser: support true/false (bool) expressions 2022-07-28 14:45:05 +01:00
Ryan Chandler
39c7d9887d
parser: support static method calls, property fetches and constants 2022-07-28 14:42:14 +01:00
Ryan Chandler
d5bef4e2ae
lexer: produce double colon tokens 2022-07-28 14:07:44 +01:00
Ryan Chandler
fc731c468d
parser: ensure function statements only parse when followed by an ident
Closes #12
2022-07-28 13:53:46 +01:00
Ryan Chandler
b4e11bd6bd
parser: support use list in closures 2022-07-28 13:38:16 +01:00
Ryan Chandler
6ba2532af6
parser: manually parse closures 2022-07-28 13:30:31 +01:00
Ryan Chandler
abd1559f31
parser: support foreach statements 2022-07-28 12:29:44 +01:00
Ryan Chandler
98fbc20291
all: clippy 2022-07-28 01:06:31 +01:00
Ryan Chandler
479b323cd9
parser: support variadic function params
Closes #9
2022-07-28 01:04:20 +01:00
Ryan Chandler
a502c21a7f
parser: ident method docs for clarity 2022-07-28 00:48:31 +01:00
Ryan Chandler
b4f8b1bf00
parser: abstract var for consistency 2022-07-28 00:47:15 +01:00
Ryan Chandler
d4cae32474
parser: abstract name and fqn into methods for consistency 2022-07-28 00:45:47 +01:00
Ryan Chandler
fc1309953e
parser: abstract lparen and rparen for consistency 2022-07-28 00:42:24 +01:00
Ryan Chandler
161bd9efed
parser: abstract ident method for consistency 2022-07-28 00:40:45 +01:00
Ryan Chandler
9f91261298
parser: abstract lbrace and rbrace methods for consistency 2022-07-28 00:36:41 +01:00
Ryan Chandler
ccc154656f
parser: abstract a semi colon method for consistency 2022-07-28 00:34:41 +01:00
Ryan Chandler
fbc48a5db5
parser: support empty / simplest switch statement 2022-07-28 00:30:32 +01:00
Ryan Chandler
f11d3cc4fc
parser: introduce new use kind concept 2022-07-27 21:27:57 +01:00
Ryan Chandler
e1eff91ee7
parser: support continue statements 2022-07-27 21:14:32 +01:00
Ryan Chandler
3ad45e6d1e
parser: support break statements 2022-07-27 20:59:20 +01:00
Ryan Chandler
e3a0e3e62f
parser: scope block method to crate 2022-07-26 17:58:37 +01:00
Ryan Chandler
2cfc502299
cargo: workspaces 2022-07-26 17:56:37 +01:00
Ryan Chandler
f88e2cd11d
runtime/bytecode/compiler: remove 2022-07-26 17:56:23 +01:00
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