/unity-nrepl

nREPL for Unity

Primary LanguageClojure

unity-nrepl

Clojure nREPL for Unity 3D

Add an embedded nrepl server to your Unity 3D game. You can leave your game running in one window and develop it completely from emacs in another without ever switching back to Unity.

This project is depends and is based on:

The nREPL code is a hacked up version of:

Requires: cider-0.6alpha (currently ships with emacs-live)

Note: Does work with cider-0.6.0 but asks you for a lisp expression when connecting. Cider 0.7.0beta also works but asks for 3 lisp expressions when connecting. I usually just enter the number 1 or something. Cider-0.6alpha works fine.

Remaining issues:

  • nrepl editor disconnects when project changes or new files are add or removed. This only of course pertains to the development of editors--does not appy to nrepl server embedded in game.
  • sometimes Emacs crashes when typing... I think it is the autocomplete/suggest code.
  • support new versions of cider.
  • build a set of middleware based on the cider-nrepl set of middleware.
  • Replaced BlockingCollection with a List... perhaps do something about that.
  • supply various versions of java, cider, and cider-nrepl so lisp expressions are not requested.