"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/euphoria.lang" (12 May 2020, 2804 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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