Commit Graph

128 Commits

Author SHA1 Message Date
Araozu
19474eb85e Refactor last change 2023-09-10 11:40:46 -05:00
Araozu
8b80dad589 Emit INDENT token on indentation increase 2023-09-10 11:16:34 -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
def93715c7 Refactor. Fix invalid position field of Number tokens 2023-03-16 13:31:24 -05:00
Araozu
f882942f3f Specific reason for failure for syntax error 2023-03-15 16:41:04 -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
5d40be6d90 Get datatype from an identifier in the symbol table. Improve code documentation 2023-02-11 18:13:05 -05:00
Araozu
8aba492f15 Parse strings and booleans 2023-02-10 12:30:10 -05:00
Araozu
850ed4cdaf Parse simple var binding 2023-02-09 18:44:31 -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
de34dd0b71 Scan simple floating point numbers 2022-11-28 17:31:02 -05:00
Araozu
a788a12eb3 Scan hex values 2022-11-28 17:05:43 -05:00
Araozu
730c5391d9 Scan simple hex value 2022-11-28 16:45:39 -05:00
Araozu
c2946e7a9b Scan integers 2022-11-21 16:58:51 -05:00