/[ascend]/trunk/a4c.lang
ViewVC logotype

Annotation of /trunk/a4c.lang

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1389 - (hide annotations) (download)
Sat Apr 14 07:05:43 2007 UTC (17 years, 1 month ago) by jpye
File size: 946 byte(s)
Updated with highlighting of units in { } braces.
1 jpye 1389 # ASCEND language definition for 'highlight'
2 jpye 1388
3     $DESCRIPTION=ASCEND model file
4    
5     $KW_LIST(kwa)=ADD AND ALIASES ARE_ALIKE ARE_THE_SAME ARE_NOT_THE_SAME ASSERT ATOM CALL CASE CARD CHECK CHOICE
6     CONSTANT CONDITIONAL CREATE DATA DEFAULT DEFINITION DO ELSE FIX FOR FREE IF IN INPUT
7     INTERSECTION IS_A IS_REFINED_TO MAX MAXIMIZE MIN MINIMIZE NOTES OF OR
8     OTHERWISE OUTPUT PROVIDE PROD REPLACE REFINES RUN SATISFIED SELECT SELF STUDY SUCH_THAT
9     SUM SWITCH THEN UNIVERSAL UNION UNITS USE WHEN WHERE WITH_VALUE WILL_BE WILL_BE_THE_SAME
10     WILL_NOT_BE_THE_SAME
11    
12     $KW_LIST(kwb)=FALSE TRUE real_constant integer_constant symbol_constant boolean_constant real integer symbol
13     boolean set
14    
15     $KW_LIST(kwc)=IMPORT REQUIRE MODEL END METHOD METHODS
16    
17     $KW_RE(kwd)=regex((\w+?)\s*\()
18    
19     $STRINGDELIMITERS='
20 jpye 1389 $STRING_UNEQUAL={ }
21 jpye 1388
22     $ML_COMMENT=(* *)
23    
24     $ALLOWNESTEDCOMMENTS=true
25    
26     $IGNORECASE=false
27    
28     $ESCCHAR=\
29    
30     $SYMBOLS= ( ) [ ] { } , ; . : & | < > ! = / * % + - ~
31    
32     $REFORMATTING=true

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22