Changes for page Kieler Compiler
Last modified by Richard Kreissig on 2023/09/14 10:52
From version 37.2
edited by Alexander Schulz-Rosengarten
on 2023/09/11 16:15
on 2023/09/11 16:15
Change comment:
Update document after refactoring.
To version 41.1
edited by Richard Kreissig
on 2023/09/14 10:52
on 2023/09/14 10:52
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -KIELER.SCCharts .SCCharts(DeprecatedHistorical Documentation).WebHome1 +KIELER.SCCharts (DeprecatedHistorical Documentation & Features).WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. als1 +XWiki.stu230980 - Content
-
... ... @@ -1,8 +1,8 @@ 1 - {{panel bgColor="orange" title="Deprecated since 0.13"}}1 +Deprecated since 0.13 2 2 This article is deprecated. The described features are no longer available in current releases. 3 -{{/panel}} 4 4 5 -{{panel borderStyle="dashed" title="Project Overview"}} 4 +== Project Overview == 5 + 6 6 Responsible: 7 7 8 8 * [[Christian Motika>>url:http://www.informatik.uni-kiel.de/rtsys/kontakt/cmot/||shape="rect"]], [[Steven Smyth>>url:http://www.informatik.uni-kiel.de/rtsys/kontakt/ssm/||shape="rect"]] ... ... @@ -11,8 +11,7 @@ 11 11 12 12 * none yet 13 13 14 -**To see the KielerCompiler in action, we provide an Online SCCharts Compiler [[here>>doc:KIELER.SCCharts.Previous Versions (Deprecated Documentation).SCCharts (pre 1\.0).Online Compiler.WebHome]].** 15 -{{/panel}} 14 +**To see the KielerCompiler in action, we provide an Online SCCharts Compiler [[here>>doc:KIELER.SCCharts (DeprecatedHistorical Documentation & Features).SCCharts (pre 1\.0).Online Compiler.WebHome]].** 16 16 17 17 = Kieler Compiler (KiCo) = 18 18 ... ... @@ -48,7 +48,7 @@ 48 48 49 49 {{{de.cau.cs.kieler.kico}}} 50 50 51 - \\50 + 52 52 ))) 53 53 1. Add the extension 54 54 ... ... @@ -55,7 +55,7 @@ 55 55 {{{de.cau.cs.kieler.kico.transformation}}} 56 56 57 57 ((( 58 - \\57 + 59 59 ))) 60 60 61 61 1. ((( ... ... @@ -135,7 +135,6 @@ 135 135 </extension> 136 136 {{/code}} 137 137 138 -\\ 139 139 140 140 == Compilation == 141 141 ... ... @@ -148,9 +148,9 @@ 148 148 Description 149 149 ))) 150 150 |((( 151 - \\149 + 152 152 153 -{{{EObject KielerCompiler.compile(List <String>transformationIDs, EObject eObject)}}}151 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject)}}} 154 154 )))|((( 155 155 * transformationIDs: List of Strings representing the transformation IDs and a pre-ordering. Note that KiCo may automatically modify the order to meet the dependencies of the referenced transformation IDs or transformation group IDs. 156 156 * eObject: The EObject that is the input to the compilation process. ... ... @@ -157,7 +157,7 @@ 157 157 * Returns: The EObject returned from the last model transformation called by KiCo. 158 158 ))) 159 159 |((( 160 - \\158 + 161 161 162 162 {{{EObject KielerCompiler.compile(String transformationIDs, EObject eObject)}}} 163 163 )))|((( ... ... @@ -164,9 +164,9 @@ 164 164 This is a convenient method only which can be used to give transformation IDs or transformation group IDs as a comma separated String. For eObject and the return value see above. 165 165 ))) 166 166 |((( 167 - \\165 + 168 168 169 -{{{EObject KielerCompiler.compile(List <String>transformationIDs, EObject eObject, boolean autoexpand)}}}167 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject, boolean autoexpand)}}} 170 170 )))|((( 171 171 This is an advanced compile method which can turn of auto-expansion with the last parameter. Use this with care! Note that if switching autoexpand off you cannot use transformation group IDs any more. Also no dependencies will be considered. The transformations will be applied straight forward in the order defined by the transformationIDs list. 172 172 ))) ... ... @@ -177,10 +177,10 @@ 177 177 import de.cau.cs.kieler.kico.KielerCompiler; 178 178 ... 179 179 private MyEObjectClass myMethod(EObject eObject) { 180 - ...181 - transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject);182 - ...183 - return transformed178 + ... 179 + transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject); 180 + ... 181 + return transformed 184 184 } 185 185 {{/code}} 186 186 ... ... @@ -187,10 +187,10 @@ 187 187 {{code title="Xtend Code"}} 188 188 import de.cau.cs.kieler.kico.KielerCompiler 189 189 ... 190 -def dispatch MyEObjectClass myMethod(EObject eObject) { 191 - transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass192 - ...193 - transformed188 +def dispatch MyEObjectClass myMethod(EObject eObject) { 189 + transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass 190 + ... 191 + transformed 194 194 } 195 195 196 196 ... ... @@ -200,7 +200,6 @@ 200 200 201 201 === Requirement Completion === 202 202 203 -\\ 204 204 205 205 (% class="wrapped" %) 206 206 |=((( ... ... @@ -222,7 +222,7 @@ 222 222 )))|=((( 223 223 (% class="content-wrapper" %) 224 224 ((( 225 -(% style="text-align: center;" %)222 +(% style="text-align:center" %) 226 226 [[image:attach:dependencies3.jpg]] 227 227 228 228 (% style="text-align: center;" %) ... ... @@ -233,9 +233,9 @@ 233 233 ))) 234 234 ))) 235 235 236 - \\233 + 237 237 ))) 238 -)))|=((( 235 +)))|=(% scope="row" %)((( 239 239 (% class="content-wrapper" %) 240 240 ((( 241 241 (% style="text-align: center;" %) ... ... @@ -262,13 +262,11 @@ 262 262 ))) 263 263 ))) 264 264 265 - \\262 + 266 266 ))) 267 267 ))) 268 268 269 -\\ 270 270 271 -\\ 272 272 273 273 (% class="wrapped" %) 274 274 |=((( ... ... @@ -296,16 +296,16 @@ 296 296 Auto selected 297 297 requirements 298 298 using DEFAULT 299 -of alternative 294 +of alternative 300 300 group 301 301 302 - \\297 + 303 303 ))) 304 304 ))) 305 305 306 - \\301 + 307 307 ))) 308 -)))|=((( 303 +)))|=(% scope="row" %)((( 309 309 (% class="content-wrapper" %) 310 310 ((( 311 311 (% style="text-align: center;" %) ... ... @@ -334,11 +334,10 @@ 334 334 ))) 335 335 ))) 336 336 337 - \\332 + 338 338 ))) 339 339 ))) 340 340 341 -\\ 342 342 343 343 == Help / Problems / FAQs == 344 344 ... ... @@ -360,11 +360,14 @@ 360 360 361 361 362 362 363 -\\\\\\\\[[java:102>>url:http://java:102||shape="rect"]] 357 + 358 + 359 + 360 +\\[[java:102>>url:http://java:102||shape="rect"]] 364 364 [[java:136>>url:http://java:136||shape="rect"]] 365 -[[java:164>>url:http://java:164||shape="rect"]] \\362 +[[java:164>>url:http://java:164||shape="rect"]] 366 366 367 -{{{ENTRY de.cau.cs.kieler.klighd 4 0 2014-03-17 11:08:46.009!MESSAGE !STACK 0java.lang.RuntimeException: Cannot find a transformation with the ID 'ABORT2'. Make sure that the transformation with this ID is registered and its declaring plugin is loaded. Make sure that the ID does exactly match (case sensitive). Maybe you forgot to separate multiple ID's by a comma. at de.cau.cs.kieler.kico.KielerCompiler.getTransformation(KielerCompiler.java:61)at de.cau.cs.kieler.kico.KielerCompiler.getDependencies(KielerCompiler.java:82)at de.cau.cs.kieler.kico.KielerCompiler.isDependingOn(KielerCompiler.)at de.cau.cs.kieler.kico.KielerCompiler.insertTransformationID(KielerCompiler.)at de.cau.cs.kieler.kico.KielerCompiler.expandDependencies(KielerCompiler.)...}}}364 +{{{ENTRY de.cau.cs.kieler.klighd 4 0 2014-03-17 11:08:46.009!MESSAGE !STACK 0java.lang.RuntimeException: Cannot find a transformation with the ID 'ABORT2'. Make sure that the transformation with this ID is registered and its declaring plugin is loaded. Make sure that the ID does exactly match (case sensitive). Maybe you forgot to separate multiple ID's by a comma. at de.cau.cs.kieler.kico.KielerCompiler.getTransformation(KielerCompiler.java:61) at de.cau.cs.kieler.kico.KielerCompiler.getDependencies(KielerCompiler.java:82) at de.cau.cs.kieler.kico.KielerCompiler.isDependingOn(KielerCompiler.) at de.cau.cs.kieler.kico.KielerCompiler.insertTransformationID(KielerCompiler.) at de.cau.cs.kieler.kico.KielerCompiler.expandDependencies(KielerCompiler.)...}}} 368 368 )))|((( 369 369 There is a transformation with ID "ABORT2" referenced 370 370 either by the initial call to KielerCompiler.compile() or ... ... @@ -377,11 +377,11 @@ 377 377 Maybe the plugin declaring "ABORT2" was not loaded 378 378 or the ID is misspelled. 379 379 380 - \\377 + 381 381 )))|((( 382 382 Check why "ABORT2" may not be found 383 383 by KiCo, more specifically, check if the 384 -declaring can be loaded (sometimes 381 +declaring can be loaded (sometimes 385 385 compiler error prevent it from being loaded 386 386 or it has unsatisfied dependencies). 387 387 Also check the spelling of the ID, maybe ... ... @@ -393,7 +393,6 @@ 393 393 394 394 {{{!ENTRY de.cau.cs.kieler.kico 2 2 2014-03-17 11:26:13.818}}} 395 395 396 -\\ 397 397 398 398 {{{!MESSAGE Extension 'TERMINATION' from component: de.cau.cs.kieler.sccharts cannot beloaded becaus this ID is already taken. (de.cau.cs.kieler.kico)}}} 399 399 )))|(((