Changes for page KIELER Command Line Compiler
on 2014/06/27 17:17
on 2023/07/11 10:26
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 7 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -KIELER Com pilerConsole1 +KIELER Command Line Compiler - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +KIELER.Home.SCCharts.Previous Versions (Deprecated Documentation).Kieler Compiler.WebHome - Content
-
... ... @@ -13,10 +13,20 @@ 13 13 14 14 15 15 16 -== Quick Start Guide == 16 +== Quick Start Guide (Online Compiler) == 17 17 18 -1. Download KIELER RCA from [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/nightly/kieler/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/nightly/kieler/||shape="rect"]] extract it to some location x on your hard drive 19 19 1. Download the [[KielerCompilerConsole>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KielerCompiler.jar?at=1c807c15f863b699d96d97038501663608d0f2bf&raw||shape="rect"]] ([[alternative Download>>attach:KielerCompiler.jar]]) as a runnable Java JAR archive and save it to some location y on your hard drive 19 +1. Change directory to location y, then type: 20 + 21 + 22 +{{{java -jar KielerCompiler.jar compile.sccharts.com -f somescchart.sct -o somescchart.c CODEGENERATION}}}((( 23 +where somescchart.sct must be a valid SCChart modeled with the KIELER SCCharts editor. You should find the generated c code in the file somsschart.c. Be sure that somescchart.sct is also located in directory y (or give the full path in "..."). 24 +))) 25 + 26 +== Quick Start Guide (Local Compiler) == 27 + 28 +1. Download KIELER RCA from [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/nightly/sccharts/>>url:http://rtsys.informatik.uni-kiel.de/%7Ekieler/files/nightly/sccharts/||shape="rect"]] extract it to some location x on your hard drive 29 +1. Download the [[KielerCompilerConsole>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KielerCompiler.jar?at=1c807c15f863b699d96d97038501663608d0f2bf&raw||shape="rect"]] ([[alternative Download>>attach:KielerCompiler.jar]]) as a runnable Java JAR archive and save it to some location y on your hard drive 20 20 1. Open console window and change directory to location x, then type: 21 21 22 22 ... ... @@ -32,7 +32,7 @@ 32 32 33 33 == Enable the KielerCompiler HTTP Server == 34 34 35 -Before you can use the KielerCompiler.jar from the console, you need to start the KIELER RCA and activate the HTTP Server. This is done using the button at 1. shown in the screenshot below. When pressing it the windows shown at 2. is displayed and allows to enable or disable the server and also to modify the default port of 5555. Whenever the server was enabled and is started, you will see its job running at 3. in the lower region of the KIELER RCA. When you enabled the server in previous runs of the KIELER RCA it will automatically started when you run KIELER again. 45 +Before you can use the KielerCompiler.jar from the console, you need to start the KIELER RCA and activate the HTTP Server. After downloading the KIELER SCCharts RCA (as descibed in the paragraph before), activate the sever as illustrated in the figure below. This is done using the button at 1. shown in the screenshot below. When pressing it the windows shown at 2. is displayed and allows to enable or disable the server and also to modify the default port of 5555. Whenever the server was enabled and is started, you will see its job running at 3. in the lower region of the KIELER RCA. When you enabled the server in previous runs of the KIELER RCA it will automatically started when you run KIELER again. 36 36 37 37 [[image:attach:KiCoConsole0.jpg]] 38 38 ... ... @@ -66,6 +66,7 @@ 66 66 67 67 In order to use the KIELER Compiler from the command line you need to know the ID of the transformations you would like to apply. 68 68 79 +(% class="wrapped" %) 69 69 |=((( 70 70 Common Transformation IDs 71 71 )))|=((( ... ... @@ -74,6 +74,7 @@ 74 74 |((( 75 75 Here are the most common ones: 76 76 88 +(% class="wrapped" %) 77 77 |=((( 78 78 Transformation ID 79 79 )))|=((( ... ... @@ -107,10 +107,13 @@ 107 107 Generate C code 108 108 ))) 109 109 )))|((( 122 +(% class="content-wrapper" %) 123 +((( 110 110 In order to get other transformation IDs you can use the KIELER Compiler Selection View. It will show the transformation ID for each transformation or transformation group as a tooltip text that will show up if you place and hold the mouse over the transformation node as shown below: 111 111 112 112 [[image:attach:TRANSFORMATIONIDs.jpg]] 113 113 ))) 128 +))) 114 114 115 115 116 116
- KiCoConsole0.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.8 KB - Content
- KiCoConsole1.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +73.5 KB - Content
- KiCoConsole2.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.0 KB - Content
- KiCoConsole3.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.0 KB - Content
- KiCoConsole4.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.8 KB - Content
- KielerCompiler.jar
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.9 KB - Content
- TRANSFORMATIONIDs.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.2 KB - Content
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -9471 5521 +9470914 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471 552/KIELER CompilerConsole1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470914/KIELER Command Line Compiler