1 2Description="AMPL" 3 4Categories = {"source"} 5 6Keywords={ 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 31Strings={ 32 Delimiter=[["|']], 33 } 34 35IgnoreCase=false 36 37Comments={ 38 { Block=false, 39 Delimiter= { [[#]] }, 40 }, 41 { Block=true, 42 Nested=false, 43 Delimiter= { [[\/\*]],[[\*\/]],} 44 } 45} 46 47Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]] 48