Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NOTE Until our documentation settles down, USAGE.md is a better source of up to date information
Arcadia exposes a continually-running networked REPL (not nREPL, yet). It can be used from several clients, including the terminal, Emacs, and Sublime Text.
From the terminal, cd to
Assets/Arcadia/Editor and run
$ ruby repl-client.rb.
At some point we'll probably write
arcadia-mode.el, in the meantime support is via Inferior Lisp. The simplest way to get started is by evaluating the following forms in Emacs lisp:
(defcustom arcadia-repl-command "ruby repl-client.rb" "Command to use for the Arcadia REPL into Unity.") (defun arcadia-repl () "Start repl" (interactive) (run-lisp arcadia-repl-command))
- Install vimproc (vimshell dependency)
- Install vimshell
- Open Vim
:VimShellInteractive ruby Assets/Arcadia/Editor/repl-client.rbfrom your project root
Now you have an interactive buffer running the Arcadia REPL. You should see something like this:
; Arcadia REPL ; Clojure 1.7.0-master-SNAPSHOT ; Unity 4.6.1f1 (d1db7a1b5196) ; Mono 2.6.5 (tarball) user=>
Please see see https://github.com/arcadia-unity/repl-sublimetext.