-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating the initial page to include information about both tools
- Loading branch information
Luis Garcia
committed
Apr 19, 2019
1 parent
8f6a04e
commit f678797
Showing
18 changed files
with
28 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Hybrid Program to Structured Text Translation | ||
============ | ||
This repo simply is a placeholder until we integrate the the HP to ST command line option into the Github repo. Right now, the jar file in this repo is a runnable verasion of KeYmaera X that has the associated command line option (see STL). The tool takes as input the hybrid program in scan cycle normal form and generates a structured text program that preserves the semantics as well as any safety guarantees. | ||
|
||
|
||
##### Usage | ||
You can refer to the command line KeYmaera X usage information from the [KeYmaera X repo page.](https://github.com/LS-Lab/KeYmaeraX-release). The input will be a kyx file and hte output will | ||
|
||
java -jar ./keymaerax.jar -genSTFile <model-file.kyx> -out file.st | ||
|
||
The out file will be a structured text program. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Structured Text to Hybrid Program Translation | ||
============ | ||
This is the half of the HyPLC tool that translates the IEC61131-3 standard structured text programming language for PLCs to a hybrid program specified in differential dynamic logic. This makes up one half of the HyPLC tool presented in [1]. For the converse translation, please visit the project link page. The tool has been directly integrated into the KeYmaera X command-line tool. | ||
*README TODO: Add usage examples | ||
##### Usage | ||
You can use the hyplc-st-to-hp.py script to perform the translation for a given st file as follows: | ||
</br> | ||
* python3 ./hyplc-st-to-hp.py st-file [hp-file] | ||
|
||
where <st-file> is a structured text program file that conforms to the subset of the IEC61131-3 standard defined in our paper, and <hp-file> is an option for providing a hybrid program where the ctrl can be replaced. This can be done by essentially writing a hybrid program as usual and including a placeholder "ctrl" variable where the ctrl of the system should reside. | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.