Skip to content

mkmik/acmeclj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clojure IDE for the Acme text editor.

Intercepts button 2 in any *.clj file and sends the selection to a command called gonrepl.

Make sure you pass the suitable env vars so it can talk with your nREPL instance.

Installation

Dependency

You need to install https://github.com/mkmik/gonrepl

Binary release

Fetch a binary from https://github.com/mkmik/acmeclj/releases/latest

Source install

go install github.com/mkmik/acmeclj@latest

Usage

The idea is that you edit some code in Acme, select some text with button 2 and send it to a live clojure instance offering a remote REPL session via nREPL.

You need to follow the instructions in the gonrepl README. In particular make sure you have the LEIN_REPL_PORT variable correctly set when you run acmeclj.

The default nREPL port should usually work.

$ export LEIN_REPL_PORT=54344

If you have this env var when you start the Acme editor you can spawn acmeclj from within the editor itself.

Demo

acmeclj