rewrite array builtins in zern

This commit is contained in:
2025-07-08 14:26:41 +02:00
parent c53a7cd631
commit b5304a3cf1
7 changed files with 46 additions and 71 deletions

View File

@@ -72,7 +72,7 @@ pub enum Expr {
}
// TODO: currently they are all just 8 byte values
static TYPES: [&str; 6] = ["U8", "I64", "String", "Bool", "Ptr", "Array"];
static TYPES: [&str; 7] = ["Void", "U8", "I64", "String", "Bool", "Ptr", "Array"];
pub struct Parser {
tokens: Vec<Token>,