Commit Graph

46 Commits

Author SHA1 Message Date
4760eea8f4 chore: create helpers for expression testing in semantic analysis 2024-10-02 16:25:42 -05:00
9857863220 refactor: changes 2024-09-30 18:37:36 -05:00
69339a955e feat: Add syntax errors to the tokenize command 2024-07-28 18:18:11 -05:00
7332a2e13f refactor: organize files for parsing expressions 2024-06-05 07:57:59 -05:00
6a951434f3 refactor: impl Parseable for Block 2024-06-04 20:23:50 -05:00
778a1390a0 refactor: binding parsing 2024-06-02 19:29:25 -05:00
ade1a809aa refactor: fix broken build, disable some tests until refactor is done 2024-06-02 08:36:12 -05:00
1d4cec5548 refactor: module constructions 2024-06-01 21:32:16 -05:00
5dafd6ca20 refactor: begin to simplify AST 2024-06-01 18:57:10 -05:00
b0606195f5 Use val/var again instead of let/mut 2024-03-18 08:57:28 -05:00
8a039ffc64 Refactor parsing pt5 2024-03-15 17:42:35 -05:00
98f67bd097 refactor syntax result pt2 2024-03-15 16:44:29 -05:00
e43eb9e137 Refactor parsing return values 2024-03-15 16:07:28 -05:00
1348020cd7 Simplify ParseResult struct 2024-03-15 15:49:02 -05:00
cb1c0d80f8 Begin work on semantic analysis 2024-01-21 20:27:30 -05:00
799cda1bf0 [Syntax] Refactor the expression parser to use ParseResult 2023-11-04 06:46:42 -05:00
Araozu
ed0e163283 [Syntax] Refactor binding parsing 2023-10-05 20:26:47 -05:00
Araozu
f769a2ec1d tag 0.0.7 2023-10-05 06:56:21 -05:00
Araozu
0630287e34 [Syntax] Parse function call as a statement 2023-10-05 06:31:24 -05:00
Araozu
9af450eaa0 Refactor 2023-10-01 18:41:00 -05:00
Araozu
971b9d9516 Parse minimal function call 2023-10-01 17:43:59 -05:00
Araozu
c4d13e76bc Parse empty arguments list 2023-10-01 17:37:19 -05:00
Araozu
03b5a1b6de Start function call parsing 2023-10-01 17:18:28 -05:00
Araozu
1fbc353ebf Extract params list parsing 2023-09-21 20:52:55 -05:00
Araozu
fec196d5aa Refactor function declaration parsing 2023-09-21 20:34:51 -05:00
Araozu
8bf24e3f1a Parse minimal block of code 2023-09-20 19:53:46 -05:00
Araozu
5dd104bcc9 Parse multiple top level declarations 2023-09-17 17:58:56 -05:00
Araozu
2481b7297c Codegen minimal function declaration 2023-09-08 20:28:53 -05:00
Araozu
5f25bae3e0 Parse minimal function declaration 2023-09-08 20:18:19 -05:00
Araozu
94f0b0c92d Refactor AST location 2023-09-07 20:50:51 -05:00
Araozu
c0b5dde9cf Refactor token creation 2023-09-07 20:46:11 -05:00
Araozu
fe8f4f3fd1 Remove lifetimes 2023-09-07 20:32:59 -05:00
Araozu
4f1fc93ceb Remove doc from compiler 2023-09-07 20:18:35 -05:00
Araozu
a88729b395 Move folders to add a new documentation generator binary 2023-03-27 09:41:16 -05:00
Araozu
e383d300f2 Show offending line and token when a syntax error is found 2023-03-15 16:33:00 -05:00
Araozu
cdafc40ff7 Add minimal error reporting for syntax analysis 2023-03-14 16:10:43 -05:00
Araozu
f28e7394e9 Scan datatypes. Parse datatype annotations 2023-02-15 16:17:50 -05:00
Araozu
1c90ee293b Add simple symbol table 2023-01-23 07:58:53 -05:00
Araozu
6cecd6af52 Add binding parsing 2023-01-17 08:04:11 -05:00
Araozu
7d99920a71 Add parsing for simple declarations 2023-01-08 18:09:06 -05:00
Araozu
e080945d37 Start simple AST parsing 2023-01-05 18:20:58 -05:00
Araozu
0a22391bae Fix bugs and improve error messages 2023-01-05 12:48:34 -05:00
Araozu
2c17557aad Fix errors in lexical analyzer 2022-11-28 19:16:55 -05:00
Araozu
0bb71c6822 Scan operators 2022-11-28 18:33:34 -05:00
Araozu
a788a12eb3 Scan hex values 2022-11-28 17:05:43 -05:00
Araozu
c2946e7a9b Scan integers 2022-11-21 16:58:51 -05:00