Skip to content

Commit 5e65a7d

Browse files
authored
Merge pull request #4 from elbachir-one/main
Adding some additional languages
2 parents a18d3a8 + 6b11873 commit 5e65a7d

21 files changed

+1112
-0
lines changed

internal/game/data/crystal.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "Crystal",
3+
"words": [
4+
"abstract",
5+
"alias",
6+
"annotation",
7+
"as",
8+
"asm",
9+
"begin",
10+
"break",
11+
"case",
12+
"class",
13+
"def",
14+
"do",
15+
"else",
16+
"elsif",
17+
"end",
18+
"ensure",
19+
"enum",
20+
"extend",
21+
"false",
22+
"for",
23+
"fun",
24+
"if",
25+
"include",
26+
"instance_sizeof",
27+
"is_a?",
28+
"lib",
29+
"macro",
30+
"module",
31+
"next",
32+
"nil",
33+
"of",
34+
"out",
35+
"pointerof",
36+
"private",
37+
"protected",
38+
"rescue",
39+
"return",
40+
"require",
41+
"select",
42+
"self",
43+
"sizeof",
44+
"struct",
45+
"super",
46+
"then",
47+
"true",
48+
"type",
49+
"typeof",
50+
"union",
51+
"unless",
52+
"until",
53+
"when",
54+
"while",
55+
"with",
56+
"yield"
57+
]
58+
}

internal/game/data/emacs.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"name": "Emacs Lisp",
3+
"words": [
4+
"defun",
5+
"setq",
6+
"let",
7+
"let*",
8+
"if",
9+
"cond",
10+
"when",
11+
"unless",
12+
"lambda",
13+
"quote",
14+
"car",
15+
"cdr",
16+
"cons",
17+
"list",
18+
"append",
19+
"mapcar",
20+
"apply",
21+
"funcall",
22+
"defvar",
23+
"defcustom",
24+
"provide",
25+
"require",
26+
"interactive",
27+
"message",
28+
"equal",
29+
"not",
30+
"and",
31+
"or",
32+
"while",
33+
"catch",
34+
"throw",
35+
"condition-case",
36+
"error",
37+
"ignore-errors",
38+
"format",
39+
"insert",
40+
"buffer-file-name",
41+
"current-buffer",
42+
"point",
43+
"buffer-substring",
44+
"save-excursion",
45+
"save-restriction",
46+
"nconc",
47+
"eval",
48+
"read",
49+
"print",
50+
"setq-default",
51+
"symbol-function",
52+
"boundp",
53+
"symbolp",
54+
"stringp",
55+
"numberp",
56+
"vectorp",
57+
"length",
58+
"substring",
59+
"replace-regexp-in-string",
60+
"defmacro",
61+
"macroexpand",
62+
"backquote",
63+
"unquote",
64+
"unquote-splicing",
65+
"add-hook",
66+
"remove-hook",
67+
"run-hooks",
68+
"defadvice",
69+
"advice-add",
70+
"advice-remove",
71+
"funcall-interactively",
72+
"interactive-p",
73+
"buffer-list",
74+
"point-min",
75+
"point-max",
76+
"goto-char",
77+
"forward-char",
78+
"backward-char",
79+
"forward-line",
80+
"beginning-of-line",
81+
"end-of-line",
82+
"kill-line",
83+
"kill-region",
84+
"yank",
85+
"insert-buffer-substring",
86+
"substring-no-properties",
87+
"set-text-properties",
88+
"get-text-property",
89+
"put-text-property"
90+
]
91+
}

internal/game/data/erlang.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "Erlang",
3+
"words": [
4+
"after",
5+
"begin",
6+
"case",
7+
"catch",
8+
"cond",
9+
"end",
10+
"fun",
11+
"if",
12+
"let",
13+
"of",
14+
"receive",
15+
"try",
16+
"when",
17+
"and",
18+
"or",
19+
"not",
20+
"div",
21+
"rem",
22+
"band",
23+
"bor",
24+
"bxor",
25+
"bnot",
26+
"bsl",
27+
"bsr"
28+
]
29+
}

internal/game/data/haskell.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "Haskell",
3+
"words": [
4+
"case",
5+
"class",
6+
"data",
7+
"default",
8+
"deriving",
9+
"do",
10+
"else",
11+
"foreign",
12+
"if",
13+
"import",
14+
"in",
15+
"infix",
16+
"infixl",
17+
"infixr",
18+
"instance",
19+
"let",
20+
"module",
21+
"newtype",
22+
"of",
23+
"then",
24+
"type",
25+
"where",
26+
"forall",
27+
"mdo",
28+
"family",
29+
"role",
30+
"pattern",
31+
"static",
32+
"group",
33+
"by",
34+
"using",
35+
"qualified",
36+
"as",
37+
"hiding"
38+
]
39+
}

internal/game/data/json.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "JSON",
3+
"words": [
4+
"{",
5+
"}",
6+
"[",
7+
"]",
8+
":",
9+
",",
10+
"\"",
11+
"true",
12+
"false",
13+
"null"
14+
]
15+
}

internal/game/data/julia.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "Julia",
3+
"words": [
4+
"baremodule",
5+
"begin",
6+
"break",
7+
"catch",
8+
"const",
9+
"continue",
10+
"do",
11+
"else",
12+
"elseif",
13+
"end",
14+
"export",
15+
"false",
16+
"finally",
17+
"for",
18+
"function",
19+
"global",
20+
"if",
21+
"import",
22+
"let",
23+
"local",
24+
"macro",
25+
"module",
26+
"quote",
27+
"return",
28+
"struct",
29+
"true",
30+
"try",
31+
"using",
32+
"while"
33+
]
34+
}

internal/game/data/lisp.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"name": "Lisp",
3+
"words": [
4+
"defun",
5+
"lambda",
6+
"setq",
7+
"let",
8+
"let*",
9+
"if",
10+
"cond",
11+
"progn",
12+
"quote",
13+
"car",
14+
"cdr",
15+
"cons",
16+
"list",
17+
"append",
18+
"mapcar",
19+
"apply",
20+
"funcall",
21+
"defmacro",
22+
"macroexpand",
23+
"eval",
24+
"defvar",
25+
"defparameter",
26+
"and",
27+
"or",
28+
"not",
29+
"equal",
30+
"eq",
31+
"eql",
32+
"typep",
33+
"format",
34+
"print",
35+
"read",
36+
"read-from-string",
37+
"loop",
38+
"return",
39+
"throw",
40+
"catch",
41+
"unwind-protect",
42+
"proclaim",
43+
"declare",
44+
"ignore"
45+
]
46+
}

internal/game/data/lua.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "Lua",
3+
"words": [
4+
"and",
5+
"break",
6+
"do",
7+
"else",
8+
"elseif",
9+
"end",
10+
"false",
11+
"for",
12+
"function",
13+
"goto",
14+
"if",
15+
"in",
16+
"local",
17+
"nil",
18+
"not",
19+
"or",
20+
"repeat",
21+
"return",
22+
"then",
23+
"true",
24+
"until",
25+
"while",
26+
"print",
27+
"pairs",
28+
"ipairs",
29+
"table",
30+
"string",
31+
"math",
32+
"coroutine",
33+
"require",
34+
"package",
35+
"load",
36+
"pcall",
37+
"xpcall",
38+
"setmetatable",
39+
"getmetatable",
40+
"rawget",
41+
"rawset"
42+
]
43+
}

0 commit comments

Comments
 (0)