darkmatter
1.0.0

См. Также Руководство по установке для Розуэлла.
Установите требования и Roswell.
# for macOS
$ brew install libev roswell
# for Ubuntu/Debian
$ apt-get install libev-dev
# and build roswell from source!
# for Arch Linux
$ yaourt -S libev roswell
Добавьте путь в файл инициализации (например, ~/.bashrc), чтобы использовать команду darkm позже.
export PATH=$PATH:~/.roswell/bin
Установите DarkMatter.
$ ros install tamamu/darkmatter
Darkmatter начинается с текущего каталога.
# change the current directory to the one starting Darkmatter from
$ cd ~/path/to/root-directory
# start Darkmatter
$ darkm
# Open localhost:8888/browse/file.lisp in your browser!
*current-directory*
;; The path where the file exists
(enable-infix-syntax)
;; #f(#f(9 + 8 * 2) / 5)
(runtask init-form &body body)
;; Run asynchronous alertable task.
;; The result of body will be alerted finally.
(checkpoint tmp-form kill-form)
;; You can use this form only in runtask.
;; If the task should kill, then kill-form will be alerted; otherwise tmp-form will be alerted.
Вы можете зарегистрировать плагин с файлом config ($ home/.darkmatter.conf), чтобы добавить пути плагинов.
Смотрите пример.
См. Также примеры, примеры/plugtest.lisp или plot.lisp и lispplot.js.
Copyright (c) 2017 Eddie ([email protected])
Лицензирован по лицензии MIT.