diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-30 16:26:45 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-30 16:29:57 -0400 |
| commit | 27e2caa6363f9afa6910930fbaf4c00aa67dfbfb (patch) | |
| tree | e1fa6e62e5f02d01e9c2894714f4fa7fea805c0f /src/server/ast.odin | |
| parent | 0e4157ebfd357e5fdb181408185cca42dcd24047 (diff) | |
Improve builtin proc resolution, complex and quaternion procs and add missing basic type keywords
Diffstat (limited to 'src/server/ast.odin')
| -rw-r--r-- | src/server/ast.odin | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/server/ast.odin b/src/server/ast.odin index 8037d6f..8bcf96a 100644 --- a/src/server/ast.odin +++ b/src/server/ast.odin @@ -11,23 +11,26 @@ import "core:strings" keyword_map: map[string]bool = { "typeid" = true, - "int" = true, - "uint" = true, "string" = true, "cstring" = true, + "int" = true, + "uint" = true, + "u8" = true, + "i8" = true, + "u16" = true, + "i16" = true, + "u32" = true, + "i32" = true, "u64" = true, - "f32" = true, - "f64" = true, "i64" = true, + "u128" = true, "i128" = true, - "i32" = true, - "i16" = true, - "u16" = true, + "f16" = true, + "f32" = true, + "f64" = true, "bool" = true, "rawptr" = true, "any" = true, - "u32" = true, - "u128" = true, "b8" = true, "b16" = true, "b32" = true, @@ -36,8 +39,6 @@ keyword_map: map[string]bool = { "false" = true, "nil" = true, "byte" = true, - "u8" = true, - "i8" = true, "rune" = true, "f16be" = true, "f16le" = true, |