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

From version 12.1
edited by cmot
on 2014/06/10 14:40
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
... ... @@ -5,7 +5,7 @@
5 5  1. Enable the TCP Server in the KIELER RCA and
6 6  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"]] as a runnable Java JAR archive and run it.
7 7  
8 -In the following we describe the details for both, the enabling of the TCP server and the possible command line calls of KiCo from the console.
8 +In the following we give a short quick start guide and describe the details for both, the enabling of the TCP server and the possible command line calls of KiCo from the command line:
9 9  
10 10  
11 11  
... ... @@ -55,8 +55,53 @@
55 55  * -v : Use verbose compilation, more error messages
56 56  * -s: Use strict mode compilation (only apply selected transformations)
57 57  
58 -== Examples ==
58 +== Common Transformation IDs ==
59 59  
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:
61 +
62 +|=(((
63 +Transformation ID
64 +)))|=(((
65 +Description
66 +)))
67 +|(((
68 +REFERENCE
69 +)))|(((
70 +Expand reference states
71 +)))
72 +|(((
73 +EXTENDED
74 +)))|(((
75 +All extended SCCharts transformations resulting in a Core SCChart
76 +)))
77 +|(% colspan="1" %)(% colspan="1" %)
78 +(((
79 +CORE
80 +)))|(% colspan="1" %)(% colspan="1" %)
81 +(((
82 +All core SCCharts transformations resulting in a Normalized SCChart
83 +)))
84 +|(% colspan="1" %)(% colspan="1" %)
85 +(((
86 +SCGRAPH
87 +)))|(% colspan="1" %)(% colspan="1" %)
88 +(((
89 +Transform to an SCG
90 +)))
91 +|(% colspan="1" %)(% colspan="1" %)
92 +(((
93 +CODEGENERATION
94 +)))|(% colspan="1" %)(% colspan="1" %)
95 +(((
96 +Generate C Code
97 +)))
98 +
99 +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:
100 +
101 +[[image:attach:TRANSFORMATIONIDs.jpg]]
102 +
103 +== Example Calls ==
104 +
60 60  === Example 1 ===
61 61  
62 62  [[image:attach:KiCoConsole2.jpg]]
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9470938
1 +9470946
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470938/KIELER Compiler Console
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470946/KIELER Compiler Console