"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/ampl.lang" (12 May 2020, 1960 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="AMPL"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7     { Id=1,
    8       List={"and", "arc", "by", "check", "cross", "close", "diff", "difference",
    9             "div", "data", "display", "drop", "else", "exists", "end", "forall", "fix",
   10             "function", "if", "in", "inter", "intersection", "interval", "include", "less",
   11             "let", "maximize", "minimize", "min", "max", "mod", "model", "node", "not",
   12             "or", "objective", "option", "param", "prod", "product", "print", "printf",
   13             "quit", "reset", "restore", "set", "setof", "subject", "subj", "s.t.",
   14             "symdiff", "sum", "shell", "solution", "then", "to", "union", "update", "unfix",
   15             "var", "write", "binary", "circular", "coeff", "coef", "cover", "dimen",
   16             "dimension", "default", "display_1col", "display_eps", "display_max_2d_cols",
   17             "display_precison", "display_round", "display_transpose", "display_width",
   18             "from", "gutter_width", "integer", "Infinity", "ordered", "obj",
   19             "objective_precision", "omit_zero_cols", "omit_zero_rows", "output_precision",
   20             "print_precision", "print_round", "print_seperator", "symbolic", "within"},
   21       },
   22     { Id=2,
   23       List={"abs", "acos", "acosh", "alias", "asin", "asinh", "atan", "atan2",
   24             "atanh", "Beta", "ceil", "cos", "card", "Cauchy", "exp", "Exponential", "floor",
   25             "first", "Gamma", "Irand224", "int", "log", "log10", "last", "member", "Normal",
   26             "next", "nextw", "ord", "ord0", "Poisson", "precision", "prev", "prevw",
   27             "round", "sin", "sinh", "sqrt", "tan", "tanh", "trunc", "Uniform", "Uniform01"},
   28       },
   29     }
   30 
   31 Strings={
   32     Delimiter=[["|']],
   33     }
   34 
   35 IgnoreCase=false
   36 
   37 Comments={
   38     { Block=false,
   39       Delimiter= { [[#]] },
   40       },
   41     { Block=true,
   42       Nested=false,
   43       Delimiter= { [[\/\*]],[[\*\/]],}
   44     }
   45 }
   46 
   47 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]