Last modified by cmot on 2023/09/11 16:16

From version 21.1
edited by cmot
on 2014/06/10 17:18
Change comment: There is no comment for this version
To version 17.1
edited by cmot
on 2014/06/10 17:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -28,8 +28,6 @@
28 28  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 "...").
29 29  )))
30 30  
31 -
32 -
33 33  == Enable the TCP Server ==
34 34  
35 35  Before you can use the KielerCompiler.jar from the console, you need to start the KIELER RCA and activate the TCP 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.
... ... @@ -44,8 +44,6 @@
44 44  
45 45  This will start a background process with the KIELER Compiler TCP Server. Optionally you can specify a (new) listening port for the TCP server using "-p <port>" or  "–port <port>",e.g. "-p 5555".
46 46  
47 -== ==
48 -
49 49  == Using the KielerCompiler from Console ==
50 50  
51 51  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"]] as a runnable Java JAR archive and start it using java:
... ... @@ -59,21 +59,11 @@
59 59  * -v : Use verbose compilation, more error messages
60 60  * -s: Use strict mode compilation (only apply selected transformations)
61 61  
62 -== ==
58 +== Common Transformation IDs ==
63 63  
64 -== Transformation IDs ==
60 +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. Here are the most common ones:
65 65  
66 -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.
67 -
68 68  |=(((
69 -Common Transformation IDs
70 -)))|=(((
71 -More Transformation IDs
72 -)))
73 -|(((
74 -Here are the most common ones:
75 -
76 -|=(((
77 77  Transformation ID
78 78  )))|=(((
79 79  Description
... ... @@ -88,14 +88,18 @@
88 88  )))|(((
89 89  All extended SCCharts transformations resulting in a Core SCChart
90 90  )))
91 -|(((
77 +|(% colspan="1" %)(% colspan="1" %)
78 +(((
92 92  CORE
93 -)))|(((
80 +)))|(% colspan="1" %)(% colspan="1" %)
81 +(((
94 94  All core SCCharts transformations resulting in a Normalized SCChart
95 95  )))
96 -|(((
84 +|(% colspan="1" %)(% colspan="1" %)
85 +(((
97 97  SCGRAPH
98 -)))|(((
87 +)))|(% colspan="1" %)(% colspan="1" %)
88 +(((
99 99  Transform to an SCG
100 100  )))
101 101  |(% colspan="1" %)(% colspan="1" %)
... ... @@ -103,18 +103,13 @@
103 103  CODEGENERATION
104 104  )))|(% colspan="1" %)(% colspan="1" %)
105 105  (((
106 -Generate C code
96 +Generate C Code
107 107  )))
108 -)))|(((
98 +
109 109  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 woll show up if you place and hold the mouse over the transformation node as shown below:
110 110  
111 111  [[image:attach:TRANSFORMATIONIDs.jpg]]
112 -)))
113 113  
114 -
115 -
116 -
117 -
118 118  == Example Calls ==
119 119  
120 120  === Example 1 ===
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9470951
1 +9470946
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470951/KIELER Compiler Console
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470946/KIELER Compiler Console