summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
Diffstat (limited to 'Biz')
-rw-r--r--Biz/Bild.nix2
-rw-r--r--Biz/Bild/Example.lisp3
-rwxr-xr-xBiz/Ide/repl5
3 files changed, 10 insertions, 0 deletions
diff --git a/Biz/Bild.nix b/Biz/Bild.nix
index fdaba0e..cfdd5b8 100644
--- a/Biz/Bild.nix
+++ b/Biz/Bild.nix
@@ -154,6 +154,8 @@ in rec {
python38Packages.black
python38Packages.pylint
rustc
+ sbcl
+ lispPackages.swank
shellcheck
wemux
] ++ lib.optional nixpkgs.stdenv.isLinux [
diff --git a/Biz/Bild/Example.lisp b/Biz/Bild/Example.lisp
new file mode 100644
index 0000000..c07fcba
--- /dev/null
+++ b/Biz/Bild/Example.lisp
@@ -0,0 +1,3 @@
+; : out helloworld.exe
+(defun main (args)
+ (print "hello world"))
diff --git a/Biz/Ide/repl b/Biz/Ide/repl
index 3fc8a08..836bed9 100755
--- a/Biz/Ide/repl
+++ b/Biz/Ide/repl
@@ -24,6 +24,11 @@
echo "scheme repl not supported yet: $target"
exit 1
;;
+ *.lisp)
+ swank-lisp-launcher.sh \
+ --eval "(asdf:load-system 'swank)" \
+ --eval "(swank:create-server :dont-close t)"
+ ;;
*)
echo "unsupported target: $target"
exit 1