"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/octave.lang" (12 May 2020, 3234 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="Octave"
    3 
    4 Categories = {"source", "scientific"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={
    9     "break","endfor","function","return",
   10     "continue","endfunction","global","while",
   11     "else","endif","gplot",
   12     "elseif","endwhile","gsplot",
   13     "end","for","if","casesen","document","history","set",
   14     "cd","edit_history","load","show",
   15     "clear","help","ls","who",
   16     "dir","format","run_history","save"
   17 },
   18   },
   19   { Id=2,
   20     List={"DEFAULT_EXEC_PATH", "current_script_file_name",
   21         "max_recursion_depth", "variables_can_hide_functions", "DEFAULT_LOADPATH",
   22         "debug_on_error", "octave_core_file_formatwarn_assign_as_truth_value", "EDITOR",
   23         "debug_on_interrupt", "octave_core_file_limit", "warn_divide_by_zero",
   24         "EXEC_PATH", "debug_on_warning",
   25         "octave_core_file_namewarn_empty_list_elements", "FFTW_WISDOM_PROGRAM",
   26         "debug_symtab_lookups", "output_max_field_width", "warn_fortran_indexing",
   27         "IMAGEPATH", "default_save_formatoutput_precision", "warn_function_name_clash",
   28         "INFO_FILE",
   29         "echo_executing_commandspage_output_immediatelywarn_future_time_stamp",
   30         "INFO_PROGRAM", "fixed_point_format", "page_screen_output", "warn_imag_to_real",
   31         "LOADPATH", "gnuplot_binary", "print_answer_id_name",
   32         "warn_matlab_incompatible", "MAKEINFO_PROGRAM", "gnuplot_command_axes",
   33         "print_empty_dimensions", "warn_missing_semicolon", "PAGER",
   34         "gnuplot_command_end", "print_rhs_assign_val", "warn_neg_dim_as_zero", "PS1",
   35         "gnuplot_command_plot", "save_header_format_stringwarn_num_to_str", "PS2",
   36         "gnuplot_command_replot", "save_precision", "warn_precedence_change", "PS4",
   37         "gnuplot_command_splot", "saving_history", "warn_reload_forces_clear",
   38         "__kluge_procbuf_delay__", "gnuplot_command_title", "sighup_dumps_octave_core",
   39         "warn_resize_on_range_error", "__nargin__",
   40         "gnuplot_command_usingsigterm_dumps_octave_corewarn_separator_insert",
   41         "ansgnuplot_command_with", "silent_functions", "warn_single_quote_string",
   42         "automatic_replot", "gnuplot_has_frames", "split_long_rowswarn_str_to_num",
   43         "beep_on_errorhistory_file", "string_fill_char", "warn_undefined_return_values",
   44         "completion_append_char", "history_size", "struct_levels_to_print",
   45         "warn_variable_switch_label",
   46         "crash_dumps_octave_coreignore_function_time_stamp",
   47         "suppress_verbose_help_message"},
   48   },
   49   { Id=3,
   50     List={"abs", "asinh", "cosh", "floor", "isalpha",  "isinf", "isspace",
   51         "real", "tan", "acos", "atan", "erf",  "gammaisascii", "islower", "isupper",
   52         "roundtanh", "acoshatanherfc", "gammaln", "iscntrl", "isna", "isxdigitsign",
   53         "toascii", "angleceil", "exp",  "imag", "isdigit", "isnanlgamma",  "sin",
   54         "tolower", "arg",  "conj", "finite",  "is_nan_or_na",  "isfiniteisprint", "log",
   55         "sinh", "toupper", "asin", "cos",  "fix",  "isalnum", "isgraph", "ispunct",
   56         "log10sqrt"},
   57   },
   58   { Id=4,
   59     Regex=[[(\w+)\s*\(]],
   60   },
   61 }
   62 
   63 Strings={
   64   Delimiter=[["|']],
   65 }
   66 
   67 IgnoreCase=false
   68 
   69 Comments={
   70   { Block=false,
   71     Delimiter= { [[#|--]] },
   72   },
   73 }
   74 
   75 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|~]]