C source code |
Font Size | Lara Aspects |
||
#include <stdio.h>
int main(){
printf("Hello World!");
return 0;
}
|
aspectdef aspect_name
/* select */
select function.statement end
/* apply */
apply
insert before "/* [[$statement.IR]] */";
end
/* condition */
condition $statement.IR != "BasicBlock" end
end
|
|||
OR | OR | |||
(click the arrow to start the weaving process!) Woven Application |
Weaver Output |
|||
press F11 on the editors to switch to fullscreen mode
* This website presents a demonstration of Harmonic. It does not represent neither the current version of Harmonic nor the full LARA technology.
Version: 1.0, © Imperial College London. Online version hosted at Universidade do Porto, FEUP.
Harmonic uses the ROSE compiler infrastructure developed at Lawrence Livermore National Laboratory. LARA [1] is a domain-specific, aspect-oriented language proposed during the REFLECT project and currently being maintained and further developed by University of Porto, Porto, Portugal, and Imperial College London, UK.
For more information on LARA, please check the LARA wiki.
Contact: José Gabriel de F. Coutinho (gabriel DOT figueiredo AT imperial DOT ac DOT uk)
Harmonic was developed in the context of FP7 REFLECT and FP7 HARNESS projects |