Commit Graph

473 Commits

Author SHA1 Message Date
Ryan Chandler
aed95d9036
parser: add statement to class method test 2022-07-19 11:51:11 +01:00
Ryan Chandler
20f957083a
parser: class definition with basic method 2022-07-19 11:49:52 +01:00
Ryan Chandler
040663698c
parser: support empty class definitions 2022-07-19 11:43:33 +01:00
Ryan Chandler
cc8fcf4105
parser: simplify structure 2022-07-19 11:32:57 +01:00
Ryan Chandler
248ed14672
lexer: support class and visibility modifiers 2022-07-19 11:32:11 +01:00
Ryan Chandler
37c6401a5e
wip 2022-07-19 11:30:23 +01:00
Ryan Chandler
d6479ca193
meta: version script 2022-07-16 22:10:00 +01:00
Ryan Chandler
bd14f8b8ad
compiler: init 2022-07-16 21:47:54 +01:00
Ryan Chandler
437360d298
ci: override toolchain settings 2022-07-16 20:47:22 +01:00
Ryan Chandler
fd19dd7022
ci: use cargo nightly 2022-07-16 20:45:54 +01:00
Ryan Chandler
2ae0275887
ci: tests 2022-07-16 20:45:04 +01:00
Ryan Chandler
ce70d1f550
all: clippy 2022-07-16 20:42:45 +01:00
Ryan Chandler
4f5800df88
parser: expect semi-colon after empty return 2022-07-16 18:47:55 +01:00
Ryan Chandler
07f06db11d
parser: correctly parse a basic recursive fib function 2022-07-16 18:11:35 +01:00
Ryan Chandler
ab3b9f8187
parser: empty functions with params 2022-07-16 16:31:25 +01:00
Ryan Chandler
149e65087b
parser: init 2022-07-16 14:57:22 +01:00
Ryan Chandler
58d95204a7
lexer: return token 2022-07-16 14:55:08 +01:00
Ryan Chandler
b2f32fff7a
lexer: basic integer support 2022-07-16 14:53:51 +01:00
Ryan Chandler
3162e01bce
lexer: variables 2022-07-16 14:48:21 +01:00
Ryan Chandler
cdfff5210b
lexer: punctuation and math ops 2022-07-16 14:29:21 +01:00
Ryan Chandler
3178a53680
lexer: basic identifier tokens and keywords 2022-07-16 14:24:27 +01:00
Ryan Chandler
25bda5af6f
lexer: rough state machine for lexing inline and scripting tokens 2022-07-16 14:14:03 +01:00
Ryan Chandler
01ffc627b9
init 2022-07-16 12:40:16 +01:00