Transformation of Applicative Specifications into Imperative ...
Transformation of Applicative Specifications into Imperative ... Transformation of Applicative Specifications into Imperative ...
CHAPTER 11. TEST An overview of the tests and the results can be found in Appendix G. 11.2.2 Black Box Test of the Control Module The black box test of the control module was performed by initializing the transformer with different inputs. These inputs were constructed such that both the handling of correct and incorrect input were tested. An overview of the test and the results can be found in Appendix G 11.3 Test Results All tests turned out as expected. In the grey box test of the program as a whole the applicative specifications were transformed as expected. The black box test of the control module did not reveal any errors. The conclusion is that the transformer works as expected. 122
Chapter 12 Possible Extensions of the Transformer This chapter offers ideas of how to transform some of the constructs not in RSLA. Furthermore, a discussion of further work on the transformer is offered. 12.1 Transformations of Constructs Outside RSLA The following section offers ideas of transformation rules not implemented in the transformer. The rules are a result of considerations that have been made during the project before the actual RSLA subset was determined. 12.1.1 Object Definitions When transforming an object definition the id of the object need not be changed, but it is good practice to rename the object. Any parameters are transformed into themselves. After that the class expression must be transformed. 12.1.2 Extending Class Expressions When transforming an extending class expression both constituent class expressions must be transformed. 12.1.3 Hiding Class Expressions When transforming a hiding class expression the names of the defined items in the list are transformed into their counterparts in the imperative specification and then the class expression is transformed. 123
- Page 88 and 89: CHAPTER 8. SPECIFICATIONS The rewri
- Page 90 and 91: CHAPTER 8. SPECIFICATIONS RSL speci
- Page 92 and 93: CHAPTER 8. SPECIFICATIONS The FUNC
- Page 94 and 95: CHAPTER 8. SPECIFICATIONS out, that
- Page 96 and 97: CHAPTER 8. SPECIFICATIONS construct
- Page 98 and 99: CHAPTER 8. SPECIFICATIONS 8.4.1 Mor
- Page 100 and 101: CHAPTER 8. SPECIFICATIONS PRECOND_T
- Page 102 and 103: CHAPTER 8. SPECIFICATIONS if length
- Page 104 and 105: CHAPTER 8. SPECIFICATIONS subtypes.
- Page 106 and 107: CHAPTER 8. SPECIFICATIONS 8.5.2 Cha
- Page 108 and 109: CHAPTER 8. SPECIFICATIONS axiom [ m
- Page 110 and 111: CHAPTER 8. SPECIFICATIONS Specifica
- Page 112 and 113: CHAPTER 8. SPECIFICATIONS the lack
- Page 114 and 115: CHAPTER 9. IMPLEMENTATION OF THE TR
- Page 116 and 117: CHAPTER 9. IMPLEMENTATION OF THE TR
- Page 118 and 119: CHAPTER 9. IMPLEMENTATION OF THE TR
- Page 120 and 121: CHAPTER 9. IMPLEMENTATION OF THE TR
- Page 122 and 123: CHAPTER 9. IMPLEMENTATION OF THE TR
- Page 124 and 125: CHAPTER 9. IMPLEMENTATION OF THE TR
- Page 126 and 127: CHAPTER 10. EXAMPLES OF TRANSFORMAT
- Page 128 and 129: CHAPTER 10. EXAMPLES OF TRANSFORMAT
- Page 130 and 131: CHAPTER 10. EXAMPLES OF TRANSFORMAT
- Page 132 and 133: CHAPTER 10. EXAMPLES OF TRANSFORMAT
- Page 134 and 135: CHAPTER 10. EXAMPLES OF TRANSFORMAT
- Page 136 and 137: CHAPTER 11. TEST 11.1.1 Lexer and P
- Page 140 and 141: CHAPTER 12. POSSIBLE EXTENSIONS OF
- Page 142 and 143: CHAPTER 12. POSSIBLE EXTENSIONS OF
- Page 144 and 145: CHAPTER 12. POSSIBLE EXTENSIONS OF
- Page 146 and 147: CHAPTER 13. CONCLUSION RSL AST and
- Page 148 and 149: CHAPTER 13. CONCLUSION 132
- Page 150 and 151: BIBLIOGRAPHY [ST02] Donald Sannello
- Page 152 and 153: APPENDIX A. USING AND EXTENDING THE
- Page 154 and 155: APPENDIX A. USING AND EXTENDING THE
- Page 156 and 157: APPENDIX B. CONTENTS OF CD-ROM 140
- Page 158 and 159: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 160 and 161: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 162 and 163: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 164 and 165: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 166 and 167: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 168 and 169: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 170 and 171: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 172 and 173: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 174 and 175: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 176 and 177: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 178 and 179: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 180 and 181: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 182 and 183: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 184 and 185: APPENDIX C. FORMAL SPECIFICATIONS O
- Page 186 and 187: APPENDIX C. FORMAL SPECIFICATIONS O
Chapter 12<br />
Possible Extensions <strong>of</strong> the<br />
Transformer<br />
This chapter <strong>of</strong>fers ideas <strong>of</strong> how to transform some <strong>of</strong> the constructs not<br />
in RSLA. Furthermore, a discussion <strong>of</strong> further work on the transformer is<br />
<strong>of</strong>fered.<br />
12.1 <strong>Transformation</strong>s <strong>of</strong> Constructs Outside RSLA<br />
The following section <strong>of</strong>fers ideas <strong>of</strong> transformation rules not implemented<br />
in the transformer. The rules are a result <strong>of</strong> considerations that have been<br />
made during the project before the actual RSLA subset was determined.<br />
12.1.1 Object Definitions<br />
When transforming an object definition the id <strong>of</strong> the object need not be<br />
changed, but it is good practice to rename the object. Any parameters<br />
are transformed <strong>into</strong> themselves. After that the class expression must be<br />
transformed.<br />
12.1.2 Extending Class Expressions<br />
When transforming an extending class expression both constituent class expressions<br />
must be transformed.<br />
12.1.3 Hiding Class Expressions<br />
When transforming a hiding class expression the names <strong>of</strong> the defined items<br />
in the list are transformed <strong>into</strong> their counterparts in the imperative specification<br />
and then the class expression is transformed.<br />
123