Commit Graph

70 Commits

Author SHA1 Message Date
8eff72ee53 Fix compilation error 2024-06-11 19:58:49 +05:00
b98579699d Improve #def 2024-06-11 19:58:09 +05:00
74d20d9f37 Add some more keywords 2024-06-11 19:44:40 +05:00
13bb7399aa Add "filter" 2024-06-11 19:10:46 +05:00
5edcf05d7a Add "break" and "continue" 2024-06-11 19:00:24 +05:00
74bf888a84 Add for loops 2024-06-11 18:55:20 +05:00
099bb1d600 Add "use" 2024-06-11 18:28:50 +05:00
d30a715d06 Add "assert" and "fn" 2024-06-11 18:26:23 +05:00
c8189f5ec1 Implement verbatim 2024-06-11 18:00:16 +05:00
c543c00a9c Fix memory leaks 2024-06-11 17:38:59 +05:00
b762ad154e Formatting 2024-06-11 17:34:00 +05:00
a8e4bfd264 Implement maps 2024-06-11 17:33:41 +05:00
834ec9d3d4 Fix list declarations 2024-06-11 16:54:41 +05:00
e6027bbaf2 Allow print to take multiple arguments 2024-06-11 16:53:40 +05:00
3aa280ba38 Implement list declarations 2024-06-11 16:51:16 +05:00
898fa9b195 How in the bloody hell it end up like that!? 2024-06-11 16:29:40 +05:00
71ee935f7b Rename def to #def 2024-06-11 16:15:09 +05:00
1c9de73b91 Implement longer defines 2024-06-11 16:14:18 +05:00
5cc866637e Add back preprocessing 2024-06-11 16:07:09 +05:00
ab7f648e56 Notify of unknown keywords 2024-06-11 16:06:47 +05:00
57af99e53a Change formating a bit 2024-06-11 16:02:51 +05:00
d5ccf1c0be Add :? as an operator 2024-06-11 16:00:32 +05:00
a1d14e8cfa Add "neg" and "not" keywords 2024-06-11 15:59:53 +05:00
8bf0af96ee Add get keyword 2024-06-11 05:48:18 +05:00
00afc5158f Add string escaping 2024-06-11 05:37:21 +05:00
e8ca2af9bc Add if as an expression 2024-06-11 05:32:55 +05:00
d8636ace10 Fix something 2024-06-11 05:28:24 +05:00
fa45d7b383 Support for if/else 2024-06-11 05:18:45 +05:00
4927054b60 Add "if" support 2024-06-11 05:14:22 +05:00
07f9a6abd8 I am going insane 2024-06-11 03:55:11 +05:00
9e80de017f Remove debug code 2024-06-11 02:57:01 +05:00
b673f99433 Fix multiple statements 2024-06-11 02:53:49 +05:00
eda259dfbf Add print keyword 2024-06-11 02:51:37 +05:00
542547e174 Add more binary operators 2024-06-11 02:45:45 +05:00
d8bd79e8c9 Some formatting 2024-06-11 02:43:06 +05:00
3b8f14cab0 Compiler does something now 2024-06-11 02:40:36 +05:00
3321ca8e1b Start implementing compiler 2024-06-10 23:27:08 +05:00
24042b3f88 Move some stuff around 2024-06-10 20:24:57 +05:00
f0e6936008 Function parsing 2024-06-10 19:14:53 +05:00
a7aefd33ad A change 2024-06-10 02:22:13 +05:00
b3b68ed586 Fix another memory leak 2024-06-10 02:06:51 +05:00
65e360984d Format code better 2024-06-10 01:58:38 +05:00
3128d3c646 Fix a memory leak 2024-06-10 01:15:19 +05:00
3a3014f9a3 Fix segfault 2024-06-10 00:41:11 +05:00
95862b56d2 Funny C unions 2024-06-10 00:38:22 +05:00
eedecc7b51 A bit of refactoring 2024-06-09 23:50:10 +05:00
743bda0437 Remove a comment 2024-06-09 22:32:25 +05:00
6e1de39a2e Fix a bug that produced a lot of NONEs in the syntaxtree 2024-06-09 22:24:58 +05:00
96acb9df26 Make debug tree a bit better 2024-06-09 21:43:02 +05:00
978dfb7309 Something kind of works now 2024-06-09 21:39:12 +05:00