Changes between Version 77 and Version 78 of Orio


Ignore:
Timestamp:
06/14/08 17:07:05 (15 years ago)
Author:
hartono
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Orio

    v77 v78  
    233233This section covers topics on how to extend Orio with new features and components such as program transformation modules. 
    234234 
    235 == Writing a New Code Transformation Module == 
     235=== Writing a New Code Transformation Module === 
    236236 
    237237With 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. 
     
    336336}}} 
    337337 
    338 In the following sample, we show the input and output of the newly-added `SimplyRewrite` module. 
     338In the following, we show the input and output of the newly-added `SimplyRewrite` module. 
    339339 
    340340{{{