Coder Social home page Coder Social logo

taihulight / inv-gen-game-chi18 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ucsd-pl/inv-gen-game-chi18

0.0 1.0 0.0 231 KB

Shell 1.06% Python 36.64% PLpgSQL 0.10% C 0.51% Makefile 0.17% CSS 1.09% HTML 18.74% JavaScript 22.00% TypeScript 17.90% Boogie 1.79%

inv-gen-game-chi18's Introduction

inv-gen-game-chi18

Inferring Loop Invariants through Gamification https://cseweb.ucsd.edu/~lerner/pg.html

Prerequisites

This has been tested on Ubuntu 16.04.

Installation

After you check-out the repo in directory $REPO, please:

cd $REPO
./setup.sh env

This will:

  1. Create a new directory $REPO/env
  2. Install a python virtual environment in $REPO/env and download the neccessary python modules
  3. Download and build Boogie and z3
  4. Install typescript and any other npm packages needed

Before you start working/running

Please run:

source $REPO/env/bin/activate

To activate the python virtual environment

Building

Run: bash $REPO/build or run make under $REPO/src/static.

Running

To run the backend server with the benchmarks from the paper please run:

$REPO/src/server.py  --local --port 8080 --ename foo --lvlset $REPO/unsolved.lvlset --db foo.db

For more information on arguments to the command run $REPO/src/server.py -h. At this point you should be able to play the game if you point your browser to localhost:8080/game.html

Directories

The frontend code is under src/static/ts. The backend code is the python code under src/ and sub-directories. Most of the boogie relevant code is under src/lib/boogie. The main server code is in src/server.py and src/server_common.py

inv-gen-game-chi18's People

Contributors

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