Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Download the KielerCompilerConsole as a runnable Java JAR archive.

Table of Contents

Using the KielerCompiler from Console:
Image Removed

The KIELER Compiler Console is a pure Java program that together with a KIELER RCA allows to call the KIELER Compiler from the console. For using the KIELER Compiler you need to

  1. Download the KielerCompilerConsole as a runnable Java JAR archive.
  2. Enable the TCP Server in the KIELER RCA

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.

Table of Contents

Using the KielerCompiler from Console
Image Added

Download the KielerCompilerConsole as a runnable Java JAR archive and start it using java:

...

  • -f <filename> : Use a specific input file (and not the console)
  • -o <filename> : Use a specific output file (and not the console)
  • -v : Use verbose compilation, more error messages
  • -s: Use strict mode compilation (only apply selected transformations)

Enable the TCP Server

...

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 shwon 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.

Example 1

...

When calling the KielerCompiler with the ABORT transformation and console output.

 

Example 2

...


Image Modified

Using the KielerCompiler with CODEGENERATION transformation and a specific output file.

 

Example 3

...


Image Modified

Using the KielerCompiler with a non exsiting transformation which generates an error message.