Commit Graph

83 Commits

Author SHA1 Message Date
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
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
c61f88aaaa Changes to codegen to move from JS to PHP generation 2023-09-08 19:34:08 -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
349f466283 Adjust to string changes 2023-05-18 22:26:05 -05:00
Araozu
f11b870600 [Compiler] Simple file compilation 2023-04-16 18:17:28 -05:00
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