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

From version 15.1
edited by cmot
on 2014/06/10 14:47
Change comment: There is no comment for this version
To version 11.1
edited by cmot
on 2014/06/10 11:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -13,21 +13,6 @@
13 13  
14 14  
15 15  
16 -== Quick Start Guide ==
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 -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 save it to some location y on your hard drive
20 -1. Open console window and change directory to location x, then type:
21 -
22 -
23 -{{{kieler -application de.cau.cs.kieler.kico.web.server -noExit -p 5555}}}
24 -1. Change directory to location y, then type:
25 -
26 -
27 -{{{java -jar KielerCompiler.jar 5555 -f somescchart.sct -o somesschart.c CODEGENERATION}}}(((
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 -)))
30 -
31 31  == Enable the TCP Server ==
32 32  
33 33  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.
... ... @@ -55,51 +55,8 @@
55 55  * -v : Use verbose compilation, more error messages
56 56  * -s: Use strict mode compilation (only apply selected transformations)
57 57  
58 -== Common Transformation IDs ==
43 +== Examples ==
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 -
100 -
101 -== Example Calls ==
102 -
103 103  === Example 1 ===
104 104  
105 105  [[image:attach:KiCoConsole2.jpg]]
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9470942
1 +9470936
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470942/KIELER Compiler Console
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470936/KIELER Compiler Console