/usr/share/highlight/langDefs/euphoria.lang is in highlight-common 3.41-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | Description="Euphoria"
Keywords={
{ Id=1,
List={"and", "by", "constant", "do", "else", "elsif", "end", "exit", "for",
"function", "global", "if", "include", "not", "or", "procedure", "return",
"then", "to", "type", "while", "with", "without", "xor", "append", "arcsin",
"arccos", "arctan", "and_bits", "allow_break", "abort", "all_palette",
"allocate", "allocate_low", "allocate_string", "atom_to_float64",
"atom_to_float32", "bk_color", "bytes_to_int", "bits_to_int", "compare",
"custom_sort", "cos", "close", "current_dir", "chdir", "check_break",
"command_line", "clear_screen", "cursor", "call", "crash_file", "crash_message",
"call_proc", "call_func", "c_proc", "c_func", "call_back", "dir", "date",
"display_text_image", "draw_line", "display_image", "dos_interrupt",
"define_c_proc", "define_c_func", "define_c_var", "equal", "ellipse", "find",
"floor", "flush", "free", "free_low", "float64_to_atom", "float32_to_atom",
"free_console", "get", "getc", "gets", "get_bytes", "get_key", "get_mouse",
"getenv", "get_position", "graphics_mode",
"get_all_palette", "get_active_page", "get_display_page", "get_screen_char",
"get_pixel", "get_vector", "int_to_bytes", "int_to_bits", "instance", "length",
"lower", "log", "lock_file", "lock_memory", "match", "mouse_events",
"mouse_pointer", "machine_func", "machine_proc", "mem_copy", "mem_set",
"message_box", "not_bits", "or_bits", "open", "open_dll", "pi", "prepend",
"power", "print", "printf", "puts", "prompt_string", "prompt_number",
"platform", "profile", "position", "palette", "put_screen_char", "pixel",
"polygon", "peek", "peek4s", "peek4u", "poke", "poke4", "rand", "repeat",
"reverse", "remainder", "read_bitmap", "register_block", "routine_id", "sin",
"sort", "sqrt", "sprintf", "seek", "system", "system_exec", "sleep", "scroll",
"save_bitmap", "set_active_page", "set_display_page", "sound",
"save_text_image", "save_screen", "save_image", "set_vector", "set_rand", "tan",
"time", "tick_rate", "trace", "text_color", "text_rows", "upper", "unlock_file",
"unregister_block", "use_vesa", "value", "video_config",
"wildcard_match", "wildcard_file", "wait_key", "where", "walk_dir", "wrap", "xor_bits"},
},
{ Id=2,
List={"atom", "integer", "object", "sequence"},
},
{ Id=3,
Regex=[=[\#[[:xdigit:]]+]=],
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
Interpolation=[[ %\w ]],
}
IgnoreCase=true
Comments={
{ Block=false,
Delimiter= { [[--]] },
},
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\?|\=|\/|\*|\%|\+|\-|\.]]
|