SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 325 | Next

Steven Kelly and Juha-Pekka Tolvanen

"Domain-Specific Modeling"


Different Generator Usages This basic generator produced plain code to be
immediately viewed. For alternative code generation tasks, three additional
generators were de?¬?ned. They all called the basic generator for the actual code
generation and just guided the use of the generation result for alternative needs: One
generator saved the application into a ?¬?le using the application name as the ?¬?le
name. A second generator uploaded the application into the emulator to be executed
via the Python interpreter. The third generator added the application to themain grid
of the phone (like a desktop), similar to other main phone applications. This
generator also included information about the application number and its place in
the grid in the generated code. It would also be possible to have a generator that
01 Report '_SendSMS'
02 /* Produce SMS sending code */
03 'def ' subreport '_Internal name' run '():' newline
04 '# Sending SMS ' :Message keyword ; newline
05 do :Message elements {
06 if type ='Message element' then
07 ' global ' id newline
08 endif
09 }
10 ' string = u"' :Message keyword ; ' "'
12 dowhile :Message elements {
13 if type ='Optional delimeter' then
14 '+"' id ' "'
15 endif
16 if type ='Message element' then
17 '\' newline ' +unicode(str(' id'))'
18 endif
19 }
20 newline
21 ' messaging.


Pages:
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6