tamamu / darkmatter
- понедельник, 10 июля 2017 г. в 03:12:46
The notebook-style Common Lisp environment
See also installation of roswell.
# Install requirements
# 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
$ ros install tamamu/darkmatter
The path starts from current directory.
$ cd ~/path/to/root-directory
$ 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.
You can regist plugin with config file ($HOME/.darkmatter.conf) to add plugin file paths.
See example.
See also examples, examples/plugtest.lisp or plot.lisp and LispPlot.js.
Copyright (c) 2017 Eddie (tamamu.1r1s@gmail.com)
Licensed under the MIT License.