Commit graph

29 commits

Author SHA1 Message Date
overflowerror
5b4d040488 feat: Add basic map loop implementation 2024-05-02 15:44:18 +02:00
overflowerror
3567a3c40b feat: Add map statement to parser 2024-05-02 15:20:26 +02:00
overflowerror
a381d95ff1 feat: Add support to subscript assignments 2024-05-02 14:52:17 +02:00
overflowerror
c71a63e821 test: Add test for str subscripts 2024-05-02 14:34:24 +02:00
overflowerror
731ab2ff7a test: Add test case for array offsets in variables 2024-05-02 14:30:33 +02:00
overflowerror
14edad9a88 feat: Add support for array subscripts 2024-05-02 14:28:08 +02:00
overflowerror
aa28a78102 feat: Add read() builtin to read to array/string 2024-04-27 18:30:40 +02:00
overflowerror
b346c25033 test: Add newline to print char array test 2024-04-27 18:01:08 +02:00
overflowerror
6d7c58a512 fix: newline escapes in char literal 2024-04-27 17:08:12 +02:00
overflowerror
8c3c1d1991 fix: printing arrays works now 2024-04-27 16:56:35 +02:00
overflowerror
863d2f2e02 feat: preparation for arrays 2024-04-27 11:09:17 +02:00
overflowerror
764450a442 feat: Add first input builtin 2024-04-27 11:02:02 +02:00
overflowerror
cd6d710d13 refactor: Refactor codegen into components 2024-04-27 09:58:43 +02:00
overflowerror
820c7c1a93 feat: Add greater than or equals, and less than or equals operations 2024-04-27 09:24:40 +02:00
overflowerror
28f34b6922 feat: Add support for greater than and less than comparisons 2024-04-26 22:01:37 +02:00
overflowerror
0461a3d2ea feat: Change print syntax to builtin 2024-04-26 16:28:39 +02:00
overflowerror
8a645a635d feat: Make builtins work 2024-04-26 15:58:34 +02:00
overflowerror
e95e2adc6d feat: Add builtins to grammar 2024-04-26 15:44:07 +02:00
overflowerror
f91af58c43 refactor: Moved macro stuff to builtins 2024-04-26 14:54:08 +02:00
overflowerror
8126e835a3 feat: Add negation to codegen 2024-03-06 15:57:50 +01:00
overflowerror
7de4815ab8 feat: Add negation to grammar 2024-03-02 19:53:47 +01:00
overflowerror
237d9f584c feat: Change macro token to not conflict with boolean inversion 2024-03-02 19:51:17 +01:00
overflowerror
88dd752e2d feat: Add implementation of conjunction and disjunction 2024-03-02 19:48:09 +01:00
overflowerror
35aa317fde chore: Add variable initialization to avoid compiler warning 2024-02-28 21:57:16 +01:00
overflowerror
db26cc5182 feat: Add logic conjunction and disjunction to grammar and ast 2024-02-28 21:54:37 +01:00
overflowerror
c61076b835 feat: Split common module from compiler 2024-02-23 23:16:51 +01:00
overflowerror
b14d745344 fix: Makefile broke on move 2024-02-22 18:33:02 +01:00
overflowerror
a246590350 chore: Add gitignore files for output directories 2024-02-22 18:25:39 +01:00
overflowerror
755ff6e2ff refactor: Move compiler files to new directory 2024-02-22 13:31:04 +01:00