~subsetpark/bagatto

ddbda538d87c8f730aeed247938af8cf54c517a1 — Zach Smith 3 months ago 4ed99c0
Update repl to work from janet
1 files changed, 4 insertions(+), 11 deletions(-)

M repl.janet
M repl.janet => repl.janet +4 -11
@@ 1,3 1,7 @@
(import src/core)
(import src/threads)
(import src/writers)

(defn eval-data
  ```
  Evaluate an object according to the Bagatto *site data specification*.


@@ 8,17 12,6 @@
  [data]
  (core/load-data data @{}))

(defn eval-loader
  ```
  Evaluate a loader fiber to view the list of filenames, or filename
  and contents, it produces.

  Not necessary to define a module, but can be useful to debug your
  configuration from within the REPL.
  ```
  [fiber]
  (seq [res :generate fiber] res))

(defn eval-site
  ```
  Evaluate an object according to the Bagatto *site generation specification*,