Changes between Version 77 and Version 78 of Orio
- Timestamp:
- 06/14/08 17:07:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Orio
v77 v78 233 233 This section covers topics on how to extend Orio with new features and components such as program transformation modules. 234 234 235 == Writing a New Code Transformation Module==235 === Writing a New Code Transformation Module === 236 236 237 237 With the module name provided in the leader annotation, Orio dynamically loads the corresponding code transformation module and uses it to transform and generate the code in the annotation body block. If the pertinent module cannot be found in the Orio module directory, an error message is produced, and the Orio optimization process is terminated. Such ''name-based dynamic loading'' provides flexibility and easy extensibility without requiring detailed knowledge or modification of the existing Orio system. … … 336 336 }}} 337 337 338 In the following sample, we show the input and output of the newly-added `SimplyRewrite` module.338 In the following, we show the input and output of the newly-added `SimplyRewrite` module. 339 339 340 340 {{{