"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/ascend.lang" (12 May 2020, 1418 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="ASCEND"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={  "ADD", "AND", "ALIASES", "ARE_ALIKE", "ARE_THE_SAME",
    9             "ARE_NOT_THE_SAME", "ASSERT", "ATOM", "CALL", "CASE", "CARD", "CHECK", "CHOICE",
   10             "CONSTANT", "CONDITIONAL", "CREATE", "DATA", "DEFAULT", "DEFINITION", "DO",
   11             "ELSE", "FIX", "FOR", "FREE", "IF", "IN", "INPUT", "INTERSECTION", "IS_A",
   12             "IS_REFINED_TO", "MAX", "MAXIMIZE", "MIN", "MINIMIZE", "NOTES", "OF", "OR",
   13             "OTHERWISE", "OUTPUT", "PROVIDE", "PROD", "REPLACE", "REFINES", "RUN",
   14             "SATISFIED", "SELECT", "SELF", "STUDY", "SUCH_THAT", "SUM", "SWITCH", "THEN",
   15             "UNIVERSAL", "UNION", "UNITS", "USE", "WHEN", "WHERE", "WITH_VALUE", "WILL_BE",
   16             "WILL_BE_THE_SAME", "WILL_NOT_BE_THE_SAME"},
   17   },
   18   { Id=2,
   19     List={"FALSE", "TRUE", "real_constant", "integer_constant", "symbol_constant",
   20             "boolean_constant", "real", "integer", "symbol", "boolean", "set"},
   21   },
   22   { Id=3,
   23     List={"IMPORT", "REQUIRE", "MODEL", "END", "METHOD", "METHODS"},
   24   },
   25   { Id=4,
   26     Regex=[[(\w+)\s*\(]],
   27   },
   28 }
   29 
   30 Strings={
   31   Delimiter=[[']],
   32   DelimiterPairs= {
   33     { Open=[[ \{ ]], Close=[[ \} ]] }
   34   }
   35 }
   36 
   37 Comments={
   38   { Block=true,
   39     Nested=false,
   40     Delimiter= { [[\(\*]],[[\*\)]] }
   41   }
   42 }
   43 
   44 IgnoreCase=false
   45 
   46 Operators=[[\(|\)|\[|\]|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
   47 
   48 EnableIndentation=true