{"id":20910098,"url":"https://github.com/viperproject/vpr-mode","last_synced_at":"2025-03-12T22:23:13.015Z","repository":{"id":193328946,"uuid":"657621754","full_name":"viperproject/vpr-mode","owner":"viperproject","description":"Viper mode for emacs","archived":false,"fork":false,"pushed_at":"2024-08-14T08:15:09.000Z","size":77,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-01-19T15:23:17.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viperproject.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-23T13:12:17.000Z","updated_at":"2024-08-14T08:15:13.000Z","dependencies_parsed_at":"2023-09-07T19:14:22.106Z","dependency_job_id":"4d268264-07b5-4504-9339-e62c7e810fe7","html_url":"https://github.com/viperproject/vpr-mode","commit_stats":null,"previous_names":["viperproject/vpr-mode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fvpr-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fvpr-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fvpr-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fvpr-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viperproject","download_url":"https://codeload.github.com/viperproject/vpr-mode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243302375,"owners_count":20269497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T14:13:54.194Z","updated_at":"2025-03-12T22:23:12.978Z","avatar_url":"https://github.com/viperproject.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Viper mode for Emacs\n[[https://www.pm.inf.ethz.ch/research/viper.html][Viper]] language support for Emacs.\n\n* Dependencies\n\n- Z3 (tested with versions 4.8.7 and 4.12.1)\n- Boogie (for using [[https://github.com/viperproject/carbon][carbon]] as a backend)\n- [[https://github.com/viperproject/viperserver][ViperServer]]\n\n* Installation\n\nThis package is under heavy development and does not support all Viper features. Thus, it is not published in any package archives.\n\nTo install it, one must clone the repository:\n\n#+BEGIN_SRC shell\n  git clone git@github.com:viperproject/vpr-mode.git\n#+END_SRC\n\nThen, add the following lines in your init.el.\n\n#+BEGIN_SRC emacs-lisp\n  (add-to-list 'load-path \"\u003cvpr-mode path\u003e\")\n\n  (use-package vpr-mode)\n#+END_SRC\n\nLast the following variables must be set\n\n#+begin_src emacs-lisp\n  (setq vpr-z3-path \"\u003cpath/to/z3 exe\u003e\")\n  (setq vpr-viperserver-path \"/path/to/viperserver.jar\")\n  (setq vpr-boogie-path \"\u003cpath/to/boogie exe\u003e\") ; required only for running viper with carbon\n#+end_src\n\nIf you want the verification to happen on save:\n\n#+BEGIN_SRC emacs-lisp\n  (add-hook 'after-save-hook #'vpr-verify)\n#+END_SRC\n\nNote that the name of the mode is ~vpr-mode~ to not clash with the built-in [[https://www.emacswiki.org/emacs/ViperMode][viper-mode]].\n* Usage\n\nCurrent keybindings are:\n\n- ~C-c C-c~: Start Viper server\n- ~C-c C-v~: Verify this file\n- ~C-c C-x~: Stop Viper server\n- ~C-c C-b~: Alternate the backend between silicon and carbon\n- ~C-c C-a~: Edit the arguments given to Viper through a construction buffer\n\n* Who do I talk to?\nThis project is maintained by [[https://github.com/Dspil][Dionisios Spiliopoulos]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviperproject%2Fvpr-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviperproject%2Fvpr-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviperproject%2Fvpr-mode/lists"}