1 |
# ASCEND language definition for Andre Simon's 'highlight' source code highlighter. |
2 |
# Add this file to the directory /usr/share/highlight/langDefs (and add a symlink |
3 |
# from a4l.lang to a4c.lang. |
4 |
|
5 |
$DESCRIPTION=ASCEND model file |
6 |
|
7 |
$KW_LIST(kwa)=ADD AND ALIASES ARE_ALIKE ARE_THE_SAME ARE_NOT_THE_SAME ASSERT ATOM CALL CASE CARD CHECK CHOICE |
8 |
CONSTANT CONDITIONAL CREATE DATA DEFAULT DEFINITION DO ELSE FIX FOR FREE IF IN INPUT |
9 |
INTERSECTION IS_A IS_REFINED_TO MAX MAXIMIZE MIN MINIMIZE NOTES OF OR |
10 |
OTHERWISE OUTPUT PROVIDE PROD REPLACE REFINES RUN SATISFIED SELECT SELF STUDY SUCH_THAT |
11 |
SUM SWITCH THEN UNIVERSAL UNION UNITS USE WHEN WHERE WITH_VALUE WILL_BE WILL_BE_THE_SAME |
12 |
WILL_NOT_BE_THE_SAME |
13 |
|
14 |
$KW_LIST(kwb)=FALSE TRUE real_constant integer_constant symbol_constant boolean_constant real integer symbol |
15 |
boolean set |
16 |
|
17 |
$KW_LIST(kwc)=IMPORT REQUIRE MODEL END METHOD METHODS |
18 |
|
19 |
$KW_RE(kwd)=regex((\w+?)\s*\() |
20 |
|
21 |
$STRINGDELIMITERS=' |
22 |
|
23 |
$ML_COMMENT=(* *) |
24 |
|
25 |
$ALLOWNESTEDCOMMENTS=true |
26 |
|
27 |
$IGNORECASE=false |
28 |
|
29 |
$ESCCHAR=\ |
30 |
|
31 |
$SYMBOLS= ( ) [ ] { } , ; . : & | < > ! = / * % + - ~ |
32 |
|
33 |
$REFORMATTING=true |