/[ascend]/trunk/pygtk/interface/ascend.syn
ViewVC logotype

Contents of /trunk/pygtk/interface/ascend.syn

Parent Directory Parent Directory | Revision Log Revision Log


Revision 358 - (show annotations) (download)
Mon Mar 6 06:53:59 2006 UTC (18 years, 3 months ago) by johnpye
File size: 4189 byte(s)
Syntax definition file for TextPad
1 ; TextPad syntax definition file for ASCEND 0.9.6
2 ; Copyright (C) 2006 Carnegie Mellon University
3 ; John Pye <john.pye@student.unsw.edu.au>
4 ;
5 ;
6 ; Copy this file to c:\Program Files\TextPad 4\samples
7 ; then add a new document class to TextPad, and select this
8 ; file as the syntax definition.
9 ;
10 ; Please inform John Pye about errors or omissions at the address above.
11 ;
12
13 C=1
14
15 [Syntax]
16 Namespace1 = 6
17 IgnoreCase = No
18 KeyWordLength =
19 BracketChars = {[()]}
20 ;;;;;;;; Operator and then Delimiter characters ;;;; @ is first delimiter char
21 OperatorChars = -+*/<>!~%^&|=@`.:,;
22 PreprocStart =
23 SyntaxStart =
24 SyntaxEnd =
25 HexPrefix = 0x
26 CommentStart = (*
27 CommentEnd = *)
28 CommentStartAlt = NOTES
29 CommentEndAlt = END NOTES
30 SingleComment =
31 SingleCommentCol =
32 SingleCommentAlt =
33 SingleCommentColAlt =
34 SingleCommentEsc =
35 StringsSpanLines = No
36 StringStart = {
37 StringEnd = }
38 StringAlt = "
39 StringEsc = \
40 CharStart =
41 CharEnd =
42 CharEsc =
43
44 [Keywords 1]
45 ADD
46 AND
47 ALIASES
48 ARE_ALIKE
49 ARE_THE_SAME
50 ARE_NOT_THE_SAME
51 ASSERT
52 ATOM
53 CALL
54 CASE
55 CARD
56 CHECK
57 CHOICE
58 CONSTANT
59 CONDITIONAL
60 CREATE
61 DATA
62 DEFAULT
63 DEFINITION
64 DIMENSIONLESS
65 DIMENSION
66 DO
67 ELSE
68 END
69 FIX
70 FOR
71 IF
72 IN
73 INTERSECTION
74 IS_A
75 IS_REFINED_TO
76 MAX
77 MAXIMIZE
78 METHOD
79 METHODS
80 MIN
81 MINIMIZE
82 MODEL
83 NOTES
84 OR
85 OTHERWISE
86 PROVIDE
87 PROD
88 REPLACE
89 REQUIRE
90 REFINES
91 RUN
92 SATISFIED
93 SELECT
94 SELF
95 STUDY
96 STOP
97 SUCH_THAT
98 SUM
99 SWITCH
100 THEN
101 UNIVERSAL
102 UNION
103 USE
104 WHEN
105 WHERE
106 WITH_VALUE
107 WILL_BE
108 WILL_BE_THE_SAME
109 WILL_NOT_BE_THE_SAME
110
111 [Keywords 2]
112 ;;; names from standard library
113 constant
114 critical_compressibility
115 acentric_factor
116 UNIFAC_size
117 Wilson_constant
118 vapor_pressure_constant
119 factor_constant
120 molar_weight_constant
121 atomic_mass_constant
122 temperature_constant
123 boiling_temperature
124 critical_temperature
125 reference_temperature
126 UNIFAC_a
127 pressure_constant
128 critical_pressure
129 reference_pressure
130 molar_volume_constant
131 critical_volume
132 reference_molar_volume
133 reference_mass_density
134 molar_energy_constant
135 reference_molar_energy
136 enthalpy_of_formation_constant
137 enthalpy_of_formation_constant
138 heat_of_vaporization_constant
139 Wilson_energy_constant
140 molar_entropy_constant
141 reference_molar_entropy
142 heat_capacity_constant
143 heat_capacity_a_constant
144 heat_capacity_b_constant
145 heat_capacity_c_constant
146 heat_capacity_d_constant
147 gas_constant
148 gravity_constant
149 circle_constant
150 speed_of_light
151 planck_constant
152 avogadro_constant
153 permittivity_constant
154 permeability_constant
155 electron_charge
156 electron_mass
157 proton_mass
158 boolean_start_true
159 boolean_start_false
160 start_true
161 start_false
162 free_energy_of_formation_constant
163 permeability_constant
164 factor
165 distance
166 pressure
167 area
168 volume
169 temperature
170 energy
171 volume_rate
172 frequency
173 factor
174
175 [Keywords 3]
176 ;;;; standard methods
177 default_self
178 specify
179 values
180 self_test
181 ClearAll
182 bound_self
183 scale_self
184 reset
185
186 [Keywords 4]
187 ;;; builtin constants
188 FALSE
189 TRUE
190 real_constant
191 boolean
192 symbol
193 integer
194 real
195 ;;; builtin atomsrelation
196 logic_relation
197 solver_var
198 lower_bound
199 upper_bound
200 nominal
201 included
202 message
203 fixed
204 boolean_var
205 generic_real
206 solver_int
207 relaxed
208 is_zero
209 solver_binary
210 solver_semi
211
212 [Keywords 5]
213 ;;; math functions
214 abs
215 arccos
216 arcsin
217 arctan
218 sin
219 cos
220 tan
221 sinh
222 cosh
223 tanh
224 arcsinh
225 arccosh
226 arctanh
227 erf
228 exp
229 ln
230 lnm
231 log10
232
233 [Keywords 6]
234 ;;; standard atoms
235 bound_width
236 scaling_constant
237 ode_counter
238 obs_counter
239 real_parameter
240 length_parameter
241 positive_variable
242 variable
243 fraction
244 positive_factor
245 small_factor
246 small_positive_factor
247 reduced_pressure
248 exp_sub
249 power_sub
250 inverse_temperature
251 force
252 vapor_pressure
253 k_constant
254 molar_mass
255 molar_rate
256 mass
257 mole_scale
258 mole
259 mass_rate
260 molar_rate_scale
261 conc_rate
262 mole_fraction
263 mass_fraction
264 molar_volume
265 volume_scale
266 volume_rate_scale
267 volume_rate_square
268 volume_expansivity
269 molar_density
270 mass_density
271 molar_energy
272 energy_scale
273 energy_rate_scale
274 energy_rate
275 heat_capacity
276 molar_energy_rate
277 molar_entropy
278 entropy
279 entropy_rate
280 conc_rate
281 partition_coefficient
282 monetary_unit
283 cost_per_volume
284 cost_per_mass
285 cost_per_time
286 cost_per_energy
287 inverse_area
288 angle
289 solid_angle
290 time
291 speed
292 acceleration
293 viscosity
294 thermal_conductivity
295 diffusivity
296 voltage
297 resistance
298 current
299 capacitance
300 inductance
301 magnetic_field
302 electric_field
303 delta_distance
304 delta_temperature
305 delta_mass
306 delta_mole
307 delta_mass_rate
308 delta_molar_rate
309 delta_volume_rate
310 delta_energy_rate
311 delta_molar_energy_rate
312 delta_entropy_rate
313 mass_sec
314 mole_sec

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