This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Description
preface
- self-starting bundle has one boot function named "any name"
- modlink when assembling a bandle, receives the symbol of such a function (or lambda). this symbol is added by the last function: (fancall symbol) last in bundle.
source file
(defvar a)
(defparameter b nil)
(defun stage1 () ...)
(defun stage2 () ...)
(defun boot-me()
(stage1)
(stage2)
(setq a <anything>))
bundle structure
(jsheader () {
(js-code <defvar>)
(js-code <defparameter>)
(js-code <stage1>)
(jscode <stage2>)
(jscode <boot-me>)
;;; next added by key :boot
(js-code <funcall <boot-me>)}
(jstail)();
modlink key
- modlink :sysname "sysname.js" :boot 'boot-me | :boot-me