Changes for page Kieler Compiler
Last modified by Richard Kreissig on 2023/09/14 10:52
From version 31.2
edited by Alexander Schulz-Rosengarten
on 2023/07/06 14:36
on 2023/07/06 14:36
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. Home.SCCharts.PreviousVersions(Deprecated 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:Online Compiler]].** 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,14 +48,16 @@ 48 48 49 49 {{{de.cau.cs.kieler.kico}}} 50 50 51 - \\50 + 52 52 ))) 53 53 1. Add the extension 54 54 54 +{{{de.cau.cs.kieler.kico.transformation}}} 55 55 56 - {{{de.cau.cs.kieler.kico.transformation}}}(((57 - \\56 +((( 57 + 58 58 ))) 59 + 59 59 1. ((( 60 60 Add one of the following extension element 61 61 ... ... @@ -133,7 +133,6 @@ 133 133 </extension> 134 134 {{/code}} 135 135 136 -\\ 137 137 138 138 == Compilation == 139 139 ... ... @@ -146,9 +146,9 @@ 146 146 Description 147 147 ))) 148 148 |((( 149 - \\149 + 150 150 151 -{{{EObject KielerCompiler.compile(List <String>transformationIDs, EObject eObject)}}}151 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject)}}} 152 152 )))|((( 153 153 * 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. 154 154 * eObject: The EObject that is the input to the compilation process. ... ... @@ -155,7 +155,7 @@ 155 155 * Returns: The EObject returned from the last model transformation called by KiCo. 156 156 ))) 157 157 |((( 158 - \\158 + 159 159 160 160 {{{EObject KielerCompiler.compile(String transformationIDs, EObject eObject)}}} 161 161 )))|((( ... ... @@ -162,10 +162,9 @@ 162 162 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. 163 163 ))) 164 164 |((( 165 + 165 165 166 -\\ 167 - 168 -{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject, boolean autoexpand)}}} 167 +{{{EObject KielerCompiler.compile(List<String> transformationIDs, EObject eObject, boolean autoexpand)}}} 169 169 )))|((( 170 170 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. 171 171 ))) ... ... @@ -176,10 +176,10 @@ 176 176 import de.cau.cs.kieler.kico.KielerCompiler; 177 177 ... 178 178 private MyEObjectClass myMethod(EObject eObject) { 179 - ...180 - transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject);181 - ...182 - return transformed178 + ... 179 + transformed = (MyEObjectClass) KielerCompiler.compile("ABORT, SIGNAL", eObject); 180 + ... 181 + return transformed 183 183 } 184 184 {{/code}} 185 185 ... ... @@ -186,10 +186,10 @@ 186 186 {{code title="Xtend Code"}} 187 187 import de.cau.cs.kieler.kico.KielerCompiler 188 188 ... 189 -def dispatch MyEObjectClass myMethod(EObject eObject) { 190 - transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass191 - ...192 - transformed188 +def dispatch MyEObjectClass myMethod(EObject eObject) { 189 + transformed = KielerCompiler.compile("ABORT, SIGNAL", eObject) as MyEObjectClass 190 + ... 191 + transformed 193 193 } 194 194 195 195 ... ... @@ -199,7 +199,6 @@ 199 199 200 200 === Requirement Completion === 201 201 202 -\\ 203 203 204 204 (% class="wrapped" %) 205 205 |=((( ... ... @@ -221,7 +221,7 @@ 221 221 )))|=((( 222 222 (% class="content-wrapper" %) 223 223 ((( 224 -(% style="text-align: center;" %)222 +(% style="text-align:center" %) 225 225 [[image:attach:dependencies3.jpg]] 226 226 227 227 (% style="text-align: center;" %) ... ... @@ -232,9 +232,9 @@ 232 232 ))) 233 233 ))) 234 234 235 - \\233 + 236 236 ))) 237 -)))|=((( 235 +)))|=(% scope="row" %)((( 238 238 (% class="content-wrapper" %) 239 239 ((( 240 240 (% style="text-align: center;" %) ... ... @@ -261,13 +261,11 @@ 261 261 ))) 262 262 ))) 263 263 264 - \\262 + 265 265 ))) 266 266 ))) 267 267 268 -\\ 269 269 270 -\\ 271 271 272 272 (% class="wrapped" %) 273 273 |=((( ... ... @@ -295,16 +295,16 @@ 295 295 Auto selected 296 296 requirements 297 297 using DEFAULT 298 -of alternative 294 +of alternative 299 299 group 300 300 301 - \\297 + 302 302 ))) 303 303 ))) 304 304 305 - \\301 + 306 306 ))) 307 -)))|=((( 303 +)))|=(% scope="row" %)((( 308 308 (% class="content-wrapper" %) 309 309 ((( 310 310 (% style="text-align: center;" %) ... ... @@ -333,11 +333,10 @@ 333 333 ))) 334 334 ))) 335 335 336 - \\332 + 337 337 ))) 338 338 ))) 339 339 340 -\\ 341 341 342 342 == Help / Problems / FAQs == 343 343 ... ... @@ -355,11 +355,18 @@ 355 355 You get the following run time error: 356 356 357 357 358 -\\\\\\\\\\\\\\\\[[java:102>>url:http://java:102||shape="rect"]] 353 + 354 + 355 + 356 + 357 + 358 + 359 + 360 +\\[[java:102>>url:http://java:102||shape="rect"]] 359 359 [[java:136>>url:http://java:136||shape="rect"]] 360 -[[java:164>>url:http://java:164||shape="rect"]] \\362 +[[java:164>>url:http://java:164||shape="rect"]] 361 361 362 -{{{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.)...}}} 363 363 )))|((( 364 364 There is a transformation with ID "ABORT2" referenced 365 365 either by the initial call to KielerCompiler.compile() or ... ... @@ -372,11 +372,11 @@ 372 372 Maybe the plugin declaring "ABORT2" was not loaded 373 373 or the ID is misspelled. 374 374 375 - \\377 + 376 376 )))|((( 377 377 Check why "ABORT2" may not be found 378 378 by KiCo, more specifically, check if the 379 -declaring can be loaded (sometimes 381 +declaring can be loaded (sometimes 380 380 compiler error prevent it from being loaded 381 381 or it has unsatisfied dependencies). 382 382 Also check the spelling of the ID, maybe ... ... @@ -388,7 +388,6 @@ 388 388 389 389 {{{!ENTRY de.cau.cs.kieler.kico 2 2 2014-03-17 11:26:13.818}}} 390 390 391 -\\ 392 392 393 393 {{{!MESSAGE Extension 'TERMINATION' from component: de.cau.cs.kieler.sccharts cannot beloaded becaus this ID is already taken. (de.cau.cs.kieler.kico)}}} 394 394 )))|(((