GithubHelp home page GithubHelp logo

forpaperreview / verifysyncasync Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 156 KB

Code Review for Automated Temporal Verification via Timed Synchronous Effects

OCaml 37.29% Makefile 0.28% Shell 1.65% JavaScript 60.78%

verifysyncasync's Introduction

Automated Temporal Verification via Timed Synchronous Effects

Towards a Mixed Synchronous and Asynchronous Concurrency

HipHop.js is the first reactive language that integrates Esterel’s synchrony and preemption with JavaScript’s asynchrony. Existing temporal verification techniques haven’t been designed to handle such a blending of two concurrency models. We propose a novel solution via a compositional Hoare-style forward verifier and a term rewriting system (TRS) on Timed Synchronous Effects. Our first contribution is a new effects logic that extends Kleene Algebra with value-dependent constraints, providing real-time bounds for synchronous traces. As a second contribution, we avoid complex translation into (timed-)automata by using an algebraic TRS, to efficiently support language inclusions checking between expressive timed effects. To demonstrate the feasibility of our proposals, we build an entailment checker for this logic; prove its correctness and provide experimental results via some case studies.

The easiest way to check out the system is to watch the Demo video.

To Compile:

git clone https://github.com/ForPaperReview/VerifySyncAsync.git
cd SyncedEffects
chmod 755 clean 
chmod 755 compile 
./compile

Dependencies:

opam switch create 4.07.1
eval $(opam env)
sudo apt-get install menhir
sudo apt-get install z3

To Test the Front End Forward verifier :

./hip src/programs/4_present.hh.js

more example can be find in folder src/programs/

To Test the Back End Term Rewriting System :

./sleek src/effects/Mixed_1.ee

more example can be find in folder src/effects/

verifysyncasync's People

Contributors

forpaperreview avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.