Skip to main content

CREST - A Continuous REactive SysTems DSL

Build Status PyPI Documentation Status codecov (I know, I know, I'm really busy though...)

Binder <-- Launch this repository and play with CREST directly in your browser!


Introduction

CREST is a novel modelling language for the definition of Continuous-time, REactive SysTems. It is a domain-specific language (DSL) targets small cyber-physical systems (CPS) such as home automation systems. Specifically, it focusses on the flow and transfer of resources within a CPS. While CREST is a graphical language and its systems can be visualised as CREST diagrams, the main form of use is as internal DSL for the Python general purpose programming language.

Try me !

CREST uses Docker, Jupyter notebooks and Binder to create, edit and simulate interactive models online.

You can try CREST yourself by clicking on this link (or on the "launch binder" badge above).

You will find several notebooks that will introduce CREST's Syntax & Semantics and Simulation. You can also just launch the docker container on binder (click the badge) and create a new notebook. You can then create and simulate your own models.

Installation

Recommended: Download/clone this repository and use the sources. The easiest way is to use the latest version of CREST is to either launch it on Binder (see above), or create a local Docker image (scripts/docker-build.sh) and then run it (scripts/docker-run.sh). Alternatively you can use repo2docker.

Local install: You can also use CREST locally and install the dependencies manually. See the Dockerfile for information about the tools and libraries that are used. CREST also requires Microsoft's Z3Prover to be installed (including the Python API).

Soon: A pip-install is in the pipelines but has been delayed due to publication season :-)


Publications

Stefan Klikovits, Auélien Coet and Didier Buchs: ML4CREST: Machine Learning for CPS Models . 2nd International Workshop on Model Driven Engineering for the Internet-of-Things (MDE4IOT), Copenhagen, 2018
@InProceedings{Klikovits:MDE4IOT:ML4CREST,
    title = {{ML4CREST}: Machine Learning for CPS Models},
    author = {Stefan Klikovits and Aur\'{e}lien Coet and Didier Buchs},
    booktitle = {2nd International Workshop on Model Driven Engineering for the Internet-of-Things (MDE4IOT), Copenhagen, Denmark, October 15, 2018. Proceedings},
    year = {2018},
}
    
Stefan Klikovits, Alban Linard and Didier Buchs: CREST - A DSL for Reactive Cyber-Physical Systems. 10th System Analysis and Modeling Conference (SAM) 2018
@InProceedings{Klikovits:SAM18:CREST,
    title = {{CREST} - A {DSL} for Reactive Cyber-Physical Systems},
    author = {Stefan Klikovits and Alban Linard and Didier Buchs},
    booktitle = {10th International System Analysis and Modeling Conference (SAM 2018), Copenhagen, Denmark, October 15-16, 2018. Proceedings},
    year = {2018},
    pages = {29-45},
    isbn = {978-3-030-01041-6}
}
    
Stefan Klikovits, Alban Linard, and Didier Buchs: CREST Formalization. Technical Report. Software Modeling and Verification Group, University of Geneva. 2018
@techreport{Klikovits:CRESTFormalization:2018,
    author = {Stefan Klikovits and Alban Linard and Didier Buchs},
    title = {{CREST} Formalization},
    institution = {Software Modeling and Verification Group, University of Geneva},
    doi = {10.5281/zenodo.1284561},
    year = {2018}
}
Stefan Klikovits, Alban Linard, Didier Buchs: CREST - A Continuous, REactive SysTems DSL. MODELS (Satellite Events) 2017: 286-291
@inproceedings{Klikovits:CREST:Gemoc:2017,
  author    = {Stefan Klikovits and
               Alban Linard and
               Didier Buchs},
  title     = {{CREST} - {A} Continuous, REactive SysTems {DSL}},
  booktitle = {Proceedings of {MODELS} 2017 Satellite Event: Workshops (ModComp,
               ME, EXE, COMMitMDE, MRT, MULTI, GEMOC, MoDeVVa, MDETools, FlexMDE,
               MDEbug), Posters, Doctoral Symposium, Educator Symposium, {ACM} Student
               Research Competition, and Tools and Demonstrations co-located with
               {ACM/IEEE} 20th International Conference on Model Driven Engineering
               Languages and Systems {(MODELS} 2017), Austin, TX, USA, September,
               17, 2017.},
  pages     = {286--291},
  year      = {2017},
  url       = {http://ceur-ws.org/Vol-2019/gemoc\_2.pdf}
}

Thanks

  • to Prof. Didier Buchs and the University of Geneva or enabling me to do this research project
  • to the Jupyterhub and Binder teams for providing their amazing service

Metadata

Release files for crestdsl 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crestdsl 0.5.2
File Size Uploaded
crestdsl-0.5.2.tar.gz 159.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crestdsl 0.5.2
File Interpreter ABI Platform
crestdsl-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 350.7 kB

Release files / crestdsl-0.5.2.tar.gz

Download URL crestdsl-0.5.2.tar.gz
Size 159.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ebb72630cc384642e240eb53114ed5156573b6407603769b081c39313bb6a298
BLAKE2b-256 checksum
How to use checksums
162acc5b62f3f47125eaffdb2b724f605010e1cc30dd2b3152db934c47bb1cc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.5.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Release files / crestdsl-0.5.2-py3-none-any.whl

Download URL crestdsl-0.5.2-py3-none-any.whl
Size 191.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7ae351f9c6efa579295db054eb26dcbb7a82b8cb9c162034d497d04eddd92b1
BLAKE2b-256 checksum
How to use checksums
5a5ef71ffb172d81229a8e5fc7d22d9910c0b767d7563b8dfa861f765b4f5e70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.5.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page