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 521 | Next

Steven Kelly and Juha-Pekka Tolvanen

"Domain-Specific Modeling"


No single choice of encoding can be recommended over all others, because your
needs will vary according to the language used in text in models, the operating system
and byte order on the computers used to generate XML from the models and to
parse that XML, and the tools used to transmit, process, and parse that XML. The
only encodings that all XML parsers must recognize, however, are UTF-8 and UTF-
16, so if you have no strong reasons to choose something else you should try one of
those:

11.3.5 Flow Machine
Now we have looked at plain text, formatted text, and structured text, we can move on
to the more meaty subject of generating program code. The simplest kind of program
is a linear sequence of instructions, so let us begin there. While such simple programs
are rarely a major part of a DSM solution, almost all DSM solutions generating
programs will include command sequences in some form.
Sequential In Chapter 7, we saw an example of a generator for simple sequential
code in a microcontroller application. The modeling language showed the commands
as objects, chained together into sequences with relationships. Perhaps surprisingly,
building a generator for such cases requires a little thought.
Most generators work iteratively, often in a tree structure determined ahead of time
by the modeling language rather than the model.


Pages:
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6