Commit Graph

21 Commits

Author SHA1 Message Date
Araozu
1bccb70c97 Emit DEDENT for each indentation level remaining at EOF 2023-09-17 13:58:45 -05:00
Araozu
bd9e418ddd Emit a DEDENT for each indentation level decreased 2023-09-10 20:10:34 -05:00
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
c0b5dde9cf Refactor token creation 2023-09-07 20:46:11 -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
cdafc40ff7 Add minimal error reporting for syntax analysis 2023-03-14 16:10:43 -05:00
Araozu
a88c8e9216 Error messages 2023-03-03 09:55:26 -05:00
Araozu
c83cd23d49 Add functions for error handling (merge) 2023-03-03 09:53:29 -05:00
Araozu
f28e7394e9 Scan datatypes. Parse datatype annotations 2023-02-15 16:17:50 -05:00
Araozu
1849e11ebb v0.0.3 - token stream always ends with Semicolon & EOF 2023-02-14 15:32:45 -05:00
Araozu
cc6e3fc78a Simple ASI 2023-02-14 15:22:29 -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
0a22391bae Fix bugs and improve error messages 2023-01-05 12:48:34 -05:00
Araozu
5efcabbfc3 Scan strings and escape characters inside string 2022-12-01 12:53:14 -05:00
Araozu
e580167682 Scan identifiers 2022-12-01 08:33:48 -05:00
Araozu
11ca7edb44 Refactor and scan grouping signs 2022-11-30 08:38:43 -05:00
Araozu
53fd824e8d Simple scientific notation scanning 2022-11-29 20:13:48 -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