Commit Graph

121 Commits

Author SHA1 Message Date
Araozu
c445f8bb00 [Compiler] Refactor string lexer to include starting and closing double quotes 2023-04-15 17:17:27 -05:00
Araozu
ccfb95956c [Compiler] Begin refactor of type checking 2023-04-14 10:17:24 -05:00
Araozu
9a3460d176 [Web] Replace TOML with YAML for markdown indexing 2023-04-13 20:21:03 -05:00
Araozu
da8277f5dd [Web] Use YAML file to generate a file tree in the documentation 2023-04-13 16:52:14 -05:00
Araozu
11c30b64af [Web] Begin migration from TOML to YAML for the documentation tree 2023-04-13 14:02:59 -05:00
Araozu
5ec34369e9 [Web] Use a TOML file to index the markdown files 2023-04-12 21:15:00 -05:00
Araozu
85c36bcb26 [Web] Highlight current anchor in sidebar 2023-04-11 11:58:21 -05:00
Araozu
44f40724b1 Add logo 2023-04-11 11:14:18 -05:00
Araozu
fceda63fbc [Web] Simple manual linking of pages 2023-04-10 21:10:53 -05:00
Araozu
e193f5dbcd [Web] Adjust styles 2023-04-05 19:39:51 -05:00
Araozu
2f26e4aad1 [Web] Generate sidebar from markdown headings 2023-04-05 18:30:03 -05:00
Araozu
04b373283c [Web] Highlight VAR and VAL tokens. Create macro for simple highlighting 2023-04-05 11:28:43 -05:00
Araozu
55b466f3b4 [Web] Highlight comments 2023-04-05 10:37:03 -05:00
Araozu
74e4d16105 [Compiler] Scan single line comments 2023-04-05 10:31:12 -05:00
Araozu
5c60943fab [Web] Highlight code blocks. 2023-04-05 09:48:15 -05:00
Araozu
0588e1f2fe [Web] Highlight multiple tokens (datatype, number, string) 2023-04-02 19:38:17 -05:00
Araozu
25a28bd8eb [Web] Use compiler to color Datatype tokens in inline-code 2023-04-01 16:17:12 -05:00
Araozu
5308e81a87 [Web] Fix errors in ol/ul generation 2023-03-31 19:43:35 -05:00
Araozu
3889c79422 [Web] Generate list items 2023-03-31 19:24:34 -05:00
Araozu
855faf1fe7 [Web] Code, inline code generation 2023-03-31 18:23:46 -05:00
Araozu
c3f2aa27e2 [Web] Generation of h1-5, p, hr 2023-03-30 16:19:48 -05:00
Araozu
4d49eea7ea [Web] Add simple anchors and ids to h1, h2, h3 2023-03-30 15:37:22 -05:00
Araozu
fc4e3a93f1 [Web] Manually generate HTML from MD ast (h1) 2023-03-30 14:54:22 -05:00
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