If this situation had occurred when generating normal source code, the
values would probably have been output in decimal, even if earlier handwritten code
had used hexadecimal: the compiler can read either with no dif?¬?culty. Now, however,
either the generator language must include commands to perform the conversion, or
then a separate postprocessing step must be applied to the generated ?¬?le.
This is thus a strong area for generator languages that use a generic programming
language for commands, as such languages will generally already have a library
function for such a conversion. Domain-speci?¬?c generator languages may not fare so
well: even Codeworker, with its built-in library of over 200 functions, has no direct
answer for this, although it can handle some particular cases. All is not lost, however,
as the necessary transformation can always be written as a postprocessing step in a
generic programming language. If there is no great number of such cases, they can
also be made as in-line calls from the generator to such a program, making the
generators slower to run but easier to understand.
Script ?¬?les, such asWindows batch ?¬?les or Unix shell scripts, are also generally
easy to generate. On the positive side, the interpreters for these ?¬?les are smarter
than those for con?¬?guration ?¬?les.
Pages:
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513