From 8b2ad5bd62abc00d03ffc40c666379ecb7e4f16f Mon Sep 17 00:00:00 2001 From: verbxtim <30605517+verbxtim@users.noreply.github.com> Date: Thu, 8 Dec 2022 07:01:11 -0700 Subject: [PATCH] Add code_assembly (#3796) cerbxtim * Update _groups.json Added assembly * Update _list.json Added assembly * Create code_assembly.json Original 8086/8088 instruction set * Resolve conflicts for code_assembly * Resolve conflicts for code_assembly Co-authored-by: Miodec --- frontend/static/languages/_groups.json | 3 +- frontend/static/languages/_list.json | 1 + frontend/static/languages/code_assembly.json | 88 ++++++++ frontend/static/languages/code_gdscript.json | 218 +++++++++---------- 4 files changed, 200 insertions(+), 110 deletions(-) create mode 100644 frontend/static/languages/code_assembly.json diff --git a/frontend/static/languages/_groups.json b/frontend/static/languages/_groups.json index 88a9d37f6..4a9f76da2 100644 --- a/frontend/static/languages/_groups.json +++ b/frontend/static/languages/_groups.json @@ -433,7 +433,8 @@ "code_systemverilog", "code_elixir", "code_zig", - "code_gdscript" + "code_gdscript", + "code_assembly" ] }, { diff --git a/frontend/static/languages/_list.json b/frontend/static/languages/_list.json index 92a70549e..83dedeb0c 100644 --- a/frontend/static/languages/_list.json +++ b/frontend/static/languages/_list.json @@ -257,4 +257,5 @@ ,"code_elixir" ,"code_zig" ,"code_gdscript" + ,"code_assembly" ] diff --git a/frontend/static/languages/code_assembly.json b/frontend/static/languages/code_assembly.json new file mode 100644 index 000000000..f5bd3adae --- /dev/null +++ b/frontend/static/languages/code_assembly.json @@ -0,0 +1,88 @@ +{ + "name": "code_assembly", + "leftToRight": true, + "noLazyMode": true, + "words": [ + "AAA", + "AAD", + "AAM", + "AAS", + "ADC", + "ADD", + "AND", + "CALL", + "CBW", + "CLC", + "CLD", + "CLI", + "CMC", + "CMP", + "CMPSB", + "CMPSW", + "CWD", + "DAA", + "DAS", + "DEC", + "DIV", + "ESC", + "HLT", + "IDIV", + "IMUL", + "IN", + "INC", + "INT", + "INTO", + "IRET", + "Jcc", + "JCXZ", + "JMP", + "LAHF", + "LDS", + "LEA", + "LES", + "LOCK", + "LODSB", + "LODSW", + "LOOP", + "MOV", + "MOVSB", + "MOVSW", + "MUL", + "NEG", + "NOP", + "NOT", + "OR", + "OUT", + "POP", + "POPF", + "PUSH", + "PUSHF", + "RCL", + "RCR", + "REPxx", + "RET", + "RETN", + "RETF", + "ROL", + "ROR", + "SAHF", + "SAL", + "SAR", + "SBB", + "SCASB", + "SCASW", + "SHL", + "SHR", + "STC", + "STD", + "STI", + "STOSB", + "STOSW", + "SUB", + "TEST", + "WAIT", + "XCHG", + "XLAT", + "XOR" +] +} diff --git a/frontend/static/languages/code_gdscript.json b/frontend/static/languages/code_gdscript.json index 5182cb994..c24cfd6e8 100644 --- a/frontend/static/languages/code_gdscript.json +++ b/frontend/static/languages/code_gdscript.json @@ -1,109 +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://" - ] -} \ No newline at end of file +{ + "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://" + ] +}