/[ascend]/trunk/tools/textpad/ascend.syn
ViewVC logotype

Contents of /trunk/tools/textpad/ascend.syn

Parent Directory Parent Directory | Revision Log Revision Log


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

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