Skip to content

Commit

Permalink
feat(formal): add some modes for formal verification/proof tools
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 18, 2023
1 parent 636d673 commit 05d8c02
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/me-modules.el
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
;; me-embedded
me-extra
me-files
me-formal
;; me-fun
me-latex
;; me-lifestyle
Expand Down
24 changes: 24 additions & 0 deletions modules/me-formal.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
;;; me-formal.el --- Formal verification tools and languages -*- lexical-binding: t; -*-

;; Copyright (C) 2022-2023 Abdelhak Bougouffa

;; Author: Abdelhak Bougouffa (concat "abougouffa" "@" "fedora" "project" "." "org")

;;; Commentary:

;;; Code:

(use-package alloy-mode
:straight (:host github :repo "dwwmmn/alloy-mode")
:mode "\\.als\\'")

(use-package proof-general
:straight t
:init
;; `proof-general' sets `coq-mode' for ".v" files. However, I prefer use `verilog-mode' for ".v" files by default.
(setq auto-mode-alist (delete (rassoc 'coq-mode auto-mode-alist) auto-mode-alist)))


(provide 'me-formal)

;;; me-formal.el ends here

0 comments on commit 05d8c02

Please sign in to comment.