Commit Graph

148 Commits

Author SHA1 Message Date
Araozu
ab5c38003a [Web] Use template file to render markdown 2023-03-28 19:32:06 -05:00
Araozu
a9ee398440 Add documentation from previous web page 2023-03-28 19:18:06 -05:00
Araozu
3197d4ed05 [Web] Improve code generation 2023-03-28 18:55:42 -05:00
Araozu
761de27edc [Web] Minimal compilation from MD to HTML 2023-03-28 18:43:46 -05:00
Araozu
e28c608788 [Compiler] v0.0.4 2023-03-28 10:06:23 -05:00
Araozu
8a72b9308d [Compiler] Fix error in val/var error messages when the offending token is a string 2023-03-28 09:53:42 -05:00
Araozu
d7bddfd549 Simple landing page 2023-03-27 15:22:09 -05:00
Araozu
a4f347f350 Basic config for doc generation 2023-03-27 10:08:00 -05:00
Araozu
a88729b395 Move folders to add a new documentation generator binary 2023-03-27 09:41:16 -05:00
Araozu
cc4f304d00 Fix bug with escape characters inside strings in the lexer 2023-03-16 13:56:54 -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
a88c8e9216 Error messages 2023-03-03 09:55:26 -05:00
Araozu
1b9a3377cb Add clap for CLI args parsing 2023-03-03 09:55:26 -05:00
Araozu
d8ea08b28b Add simple error reporting for lexical errors (rebase) 2023-03-03 09:55:20 -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
3a11000fe0 Get dataypes from sybols 2023-02-11 09:53:18 -05:00
Araozu
cfbb86ab68 Get correct type of a binding 2023-02-10 12:51:10 -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
df772ec737 Report sytax errors 2023-02-08 19:53:02 -05:00
Araozu
236a9c296b Simple codegen 2023-01-24 08:05:49 -05:00
Araozu
418be5dc17 Simple type checking in the symbol table 2023-01-23 08:34:24 -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
5efcabbfc3 Scan strings and escape characters inside string 2022-12-01 12:53:14 -05:00
Araozu
f3ee68fcf1 Scan and keywords 2022-12-01 12:17:17 -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
0951551a3e Scan scientific notation with decimal part 2022-11-29 20:41:12 -05:00
Araozu
c46291ed8a Refactor number scanners 2022-11-29 20:30:56 -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
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
Araozu
7a929ac440 Initial commit 2022-11-18 12:40:09 -05:00