Giter Club home page Giter Club logo

vpr-mode's Introduction

Viper mode for Emacs

Viper language support for Emacs.

Dependencies

  • Z3 (tested with versions 4.8.7 and 4.12.1)
  • Boogie (for using carbon as a backend)
  • ViperServer

Installation

This package is under heavy development and does not support all Viper features. Thus, it is not published in any package archives.

To install it, one must clone the repository:

git clone [email protected]:viperproject/vpr-mode.git

Then, add the following lines in your init.el.

(add-to-list 'load-path "<vpr-mode path>")

(use-package vpr-mode)

Last the following variables must be set

(setq vpr-z3-path "<path/to/z3 exe>")
(setq vpr-viperserver-path "/path/to/viperserver.jar")
(setq vpr-boogie-path "<path/to/boogie exe>") ; required only for running viper with carbon

If you want the verification to happen on save:

(add-hook 'after-save-hook #'vpr-verify)

Note that the name of the mode is vpr-mode to not clash with the built-in viper-mode.

Usage

Current keybindings are:

  • C-c C-c: Start Viper server
  • C-c C-v: Verify this file
  • C-c C-x: Stop Viper server
  • C-c C-b: Alternate the backend between silicon and carbon
  • C-c C-a: Edit the arguments given to Viper through a construction buffer

Who do I talk to?

This project is maintained by Dionisios Spiliopoulos

vpr-mode's People

Contributors

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