m. to present
the results to management. The ?¬?rst part of the morning was spent establishing the
area of the domain to be covered. Rather than focusing on the boundary, which is hard
to lay down precisely at an early stage, the consultant and Domatic experts identi?¬?ed
the central concepts of the domain. The modeling language had to be able to specify a
section of voice output built up from text fragments, and a choice based on DTMF
input. A small modeling language for this was built in MetaEdit+ in 25 minutes,
10:40??“11:05.
Using this VoiceMenu modeling language, Domatic built a small example model
and sketched the corresponding code. As both the modeling language and the
assembly language were speci?¬?c to the same narrow domain of Domatic??™s telecom
module, there was a good correspondence between model elements and lines or
blocks of code. The consultant could thus build a basic code generator for the skeleton
modeling language in 10??“15 minutes.
In the remaining time up to 11:40, the modeling language was extended to handle
more than the core cases: what to dowhen the user did not followthe voice instructions
or when the voice output varied according to the state of the system. Concepts and
control paths were added for timeouts and invalid input inDTMF, and for system calls
to manipulate and test registers.
Pages:
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281