Skip to content

Flycheck for CoPL (プログラミング言語の基礎概念)

Notifications You must be signed in to change notification settings

igjit/flycheck-copl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flycheck-copl

Flycheck for CoPL (the book "Concepts of Programming Languages").

Screenshot

Requirement

copl-tools on Docker

If you prefer to run copl-tools on Docker, docker-copl-tools is available.

Install docker-copl-tools.

git clone git@github.com:igjit/docker-copl-tools.git
cd docker-copl-tools/
docker build -t copl-tools .

And add the bin directory to Emacs exec-path. (Replace path/to/ to where you installed.)

(add-to-list 'exec-path "path/to/docker-copl-tools/bin")

Usage

Select the game

Specify the game as file local variable in your derivation file (*.copl).

// -*- copl-game: "CompareNat1" -*-

After edit the variable, reopen (save-buffer then revert-buffer) the buffer.

Sample Configuration

(eval-after-load 'flycheck
  '(flycheck-copl-setup))

(defun my-copl-mode-setup ()
  (flycheck-mode +1))

(add-hook 'copl-mode-hook 'my-copl-mode-setup)

About

Flycheck for CoPL (プログラミング言語の基礎概念)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published