Commit Graph

28 Commits

Author SHA1 Message Date
7b0aa4454e lex_file() test lexes clock.fae 2022-03-02 12:30:47 -07:00
307b53a31c Decimal float literals 2022-03-02 11:54:28 -07:00
4c297eb957 Parse mutable interface functions 2022-03-02 10:21:10 -07:00
79b8b8ea3d Add Clock12Hr example 2022-03-02 10:05:19 -07:00
4cd65504f2 Impl blocks 2022-03-02 10:02:38 -07:00
d15fd0c748 Parse submembers and function calls 2022-03-01 13:58:58 -07:00
732d80dd9a Lex and parse bool literals 2022-03-01 13:08:18 -07:00
6217b83cd8 If expressions 2022-03-01 13:06:38 -07:00
0a795f1450 Parse function calls 2022-03-01 12:53:20 -07:00
1d7007ab9a Expression parantheses nesting 2022-03-01 12:26:13 -07:00
24e5ac2aef Parse boolean and bitwise ops 2022-03-01 11:19:04 -07:00
4fcad8c6a4 Refactor mutability 2022-03-01 10:27:41 -07:00
9d074ddd19 Tail expressions, integer literal exprs 2022-03-01 10:06:47 -07:00
1b36737203 Abbreviate lengthy type names 2022-03-01 09:23:36 -07:00
018427751f Parse interface definitions 2022-03-01 09:19:26 -07:00
adf12c2ecd Reserve more tokens 2022-03-01 08:46:34 -07:00
55ac70803c Add failing interface parse test 2022-03-01 08:43:18 -07:00
63943687e3 Basic expression parsing 2022-02-28 19:58:34 -07:00
49b3634228 Add GPL license 2022-02-28 15:43:27 -07:00
698c914633 Improve parser error handling 2022-02-28 14:36:24 -07:00
04c0dc35a6 Refactor unit tests 2022-02-28 13:33:32 -07:00
2df63504e0 Remove debug messages from lexer 2022-02-28 13:21:35 -07:00
bc4d58ffa2 Fix old .ktn file includes 2022-02-28 13:20:04 -07:00
889e078328 Rename Katana to Sprite 2022-02-28 13:09:33 -07:00
2e170879ea Add TokenInfo for error logging, hopefully 2022-02-27 17:07:09 -07:00
f473fe324e Parse function signatures and skip over bodies 2022-02-27 15:27:24 -07:00
afbc34ebd0 Initial AST + basic struct parsing 2022-02-27 15:27:11 -07:00
b7678dc218 Basic lexer 2022-02-27 15:28:19 -07:00