Commit Graph

38 Commits (59894a1b643399718e7a82d06e2f8d9cd4bad481)

Author SHA1 Message Date
Araozu 59894a1b64 Add even more tests 2024-05-04 19:08:22 -05:00
Araozu a7417e8a99 Add tests to function parameters 2024-03-18 16:41:11 -05:00
Araozu 2d32f1a0bc Parse val/var binding & implicit val binding 2024-03-18 09:51:17 -05:00
Araozu f60992c303 Parse function return datatype 2024-03-18 09:20:21 -05:00
Araozu b0606195f5 Use val/var again instead of let/mut 2024-03-18 08:57:28 -05:00
Araozu ec09dbfc0d Refactor parsing pt3 2024-03-15 16:56:45 -05:00
Araozu d822c64fd7 Define todos for v0.0.11 2024-03-09 21:54:29 -05:00
Araozu ac2ab8d2dc Check for function & binding duplication in the global scope 2024-03-09 21:34:05 -05:00
Araozu f97b8e2e07 Improve function semantic check 2024-03-09 08:05:51 -05:00
Araozu a219faf283 Add a return type to main 2024-03-01 16:52:32 -05:00
Araozu e1a0afba36 Check if functions are declared twice 2024-02-03 20:21:48 -05:00
Araozu 2184f7e654 Parse function parameters 2024-01-21 15:06:53 -05:00
Araozu a605d182b4 Codegen function call parameters 2024-01-11 19:36:11 -05:00
Araozu a6bff95d24 Parse function call parameters 2024-01-11 19:29:19 -05:00
Araozu eb3b755a3c (lazily) codegen parsed expressions. v0.0.9 (rebase) 2024-01-06 19:09:35 -05:00
Araozu 61de3b100f [Codegen] Minimal codegen for a Block 2024-01-02 07:06:46 -05:00
Araozu ef70bc1cc0 Minimal error display for syntax error 2024-01-02 06:32:56 -05:00
Araozu 7379c469d3 Small changes 2023-12-16 20:35:24 -05:00
Araozu 6399bd338c Remove clap & colored 2023-12-10 20:32:20 -05:00
Araozu 0337e4f5ff Define CLI interface 2023-12-09 20:04:44 -05:00
Araozu dcffe062a1 Parse binary operators 2023-11-21 21:40:11 -05:00
Araozu d4a633f7c0 Parse binary / * 2023-11-21 21:29:55 -05:00
Araozu a54abcc394 Structure for parsing operators. Parse unary operator 2023-11-21 21:02:50 -05:00
Araozu c045721f46 Change grammar to incorporate binary operators 2023-11-21 07:49:49 -05:00
Araozu ed0e163283 [Syntax] Refactor binding parsing 2023-10-05 20:26:47 -05:00
Araozu f769a2ec1d tag 0.0.7 2023-10-05 06:56:21 -05:00
Araozu 03b5a1b6de Start function call parsing 2023-10-01 17:18:28 -05:00
Araozu bbd82b07c4 Tag 0.0.6 2023-09-19 20:42:03 -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 e383d300f2 Show offending line and token when a syntax error is found 2023-03-15 16:33:00 -05:00
Araozu d8ea08b28b Add simple error reporting for lexical errors (rebase) 2023-03-03 09:55:20 -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 236a9c296b Simple codegen 2023-01-24 08:05:49 -05:00