mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 15:56:24 +08:00
Add GDScript programming language (#3792) ErrorInCode27
* Initial GDScript addition * Add parentheses and a couple extra types/symbols * Reorganization to make it understandable Co-authored-by: [Error_27] <43973418+Error-In-Code@users.noreply.github.com>
This commit is contained in:
parent
46d7a78ffe
commit
3f6bf924ac
|
@ -431,7 +431,8 @@
|
|||
"code_arduino",
|
||||
"code_systemverilog",
|
||||
"code_elixir",
|
||||
"code_zig"
|
||||
"code_zig",
|
||||
"code_gdscript"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -255,4 +255,5 @@
|
|||
,"code_systemverilog"
|
||||
,"code_elixir"
|
||||
,"code_zig"
|
||||
,"code_gdscript"
|
||||
]
|
||||
|
|
109
frontend/static/languages/code_gdscript.json
Normal file
109
frontend/static/languages/code_gdscript.json
Normal file
|
@ -0,0 +1,109 @@
|
|||
{
|
||||
"name": "code_gdscript",
|
||||
"leftToRight": true,
|
||||
"words": [
|
||||
"var",
|
||||
"const",
|
||||
"if",
|
||||
"elif",
|
||||
"else",
|
||||
"for",
|
||||
"while",
|
||||
"match",
|
||||
"break",
|
||||
"continue",
|
||||
"pass",
|
||||
"return",
|
||||
"class",
|
||||
"class_name",
|
||||
"extends",
|
||||
"is",
|
||||
"as",
|
||||
"self",
|
||||
"tool",
|
||||
"signal",
|
||||
"func",
|
||||
"static",
|
||||
"enum",
|
||||
"onready",
|
||||
"export",
|
||||
"setget",
|
||||
"breakpoint",
|
||||
"remote",
|
||||
"master",
|
||||
"puppet",
|
||||
"remotesync",
|
||||
"mastersync",
|
||||
"puppetsync",
|
||||
"PI",
|
||||
"TAU",
|
||||
"INF",
|
||||
"NAN",
|
||||
"in",
|
||||
"not",
|
||||
"and",
|
||||
"or",
|
||||
"$",
|
||||
"%",
|
||||
"->",
|
||||
":",
|
||||
"print()",
|
||||
"_ready()",
|
||||
"_process()",
|
||||
"_input()",
|
||||
"_physics_process()",
|
||||
"_enter_tree()",
|
||||
"_exit_tree()",
|
||||
"_init()",
|
||||
"free()",
|
||||
"queue_free()",
|
||||
"call_deferred()",
|
||||
"connect()",
|
||||
"emit_signal()",
|
||||
"get_node()",
|
||||
"get_parent()",
|
||||
"range()",
|
||||
"get_tree()",
|
||||
"get_viewport()",
|
||||
"get_child()",
|
||||
"get_children()",
|
||||
"is_in_group()",
|
||||
"preload()",
|
||||
"load()",
|
||||
"yield()",
|
||||
"resume()",
|
||||
"assert()",
|
||||
"str()",
|
||||
"has()",
|
||||
"append()",
|
||||
"get_path()",
|
||||
"OS",
|
||||
"Input",
|
||||
"Vector2",
|
||||
"Vector3",
|
||||
"bool",
|
||||
"int",
|
||||
"String",
|
||||
"void",
|
||||
"float",
|
||||
"Dictionary",
|
||||
"Array",
|
||||
"NodePath",
|
||||
"Color",
|
||||
"Object",
|
||||
"Transform",
|
||||
"Node",
|
||||
"Node2D",
|
||||
"Spatial",
|
||||
"Control",
|
||||
"KinematicBody",
|
||||
"KinematicBody2D",
|
||||
"Sprite",
|
||||
"Sprite3D",
|
||||
"MeshInstance",
|
||||
"Camera",
|
||||
"Camera2D",
|
||||
"res://",
|
||||
"user://"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue