Skip to content

Commit 502f1c5

Browse files
authored
impr: add words to Odin, remove non-existing complex_* (@dayllenger) (monkeytypegame#6607)
### Description Added a few missing keywords, some common attributes and procedures. Removed complex_double/complex_float (not sure why they were there). ### Checks - [x] Check if any open issues are related to this PR; if so, be sure to tag them below. - [x] Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info) - [x] Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title.
1 parent 4bb431b commit 502f1c5

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

frontend/static/languages/code_odin.json

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"name": "code_odin",
33
"noLazyMode": true,
44
"words": [
5+
"abs",
6+
"align_of",
7+
"allocator",
58
"any",
9+
"append",
10+
"assert",
611
"auto_cast",
712
"b16",
813
"b32",
@@ -15,14 +20,15 @@
1520
"byte",
1621
"case",
1722
"cast",
23+
"clamp",
1824
"complex128",
1925
"complex32",
2026
"complex64",
21-
"complex_double",
22-
"complex_float",
27+
"context",
2328
"continue",
2429
"cstring",
2530
"defer",
31+
"delete_key",
2632
"distinct",
2733
"do",
2834
"double",
@@ -41,7 +47,9 @@
4147
"false",
4248
"float",
4349
"for",
50+
"force_inline",
4451
"foreign",
52+
"free_all",
4553
"i128",
4654
"i128be",
4755
"i128le",
@@ -61,23 +69,48 @@
6169
"int",
6270
"map",
6371
"matrix",
72+
"max",
73+
"min",
74+
"new_clone",
6475
"nil",
76+
"no_nil",
6577
"not_in",
78+
"offset_of",
79+
"or_break",
80+
"or_continue",
6681
"or_else",
6782
"or_return",
6883
"package",
84+
"packed",
85+
"panic",
86+
"partial",
87+
"println",
88+
"private",
6989
"proc",
7090
"quaternion128",
7191
"quaternion256",
7292
"quaternion64",
93+
"raw_data",
94+
"raw_union",
7395
"rawptr",
96+
"reserve",
97+
"resize",
7498
"return",
7599
"rune",
100+
"shared_nil",
101+
"shrink",
102+
"simd",
103+
"size_of",
104+
"soa_unzip",
105+
"soa_zip",
76106
"string",
77107
"struct",
78108
"switch",
109+
"thread_local",
110+
"tprintf",
79111
"transmute",
80112
"true",
113+
"type_of",
81114
"typeid",
82115
"u128",
83116
"u128be",

0 commit comments

Comments
 (0)