diff --git a/docs/Makefile b/docs/Makefile index f0b9144..c704b9d 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -2,6 +2,7 @@ README=../README.md BUILD_SCRIPT=build_index.py GENERATOR=python $(BUILD_SCRIPT) HTML_OUTPUT_DIR=./html +NOTEBOOK_OUTPUT_DIR=$(HTML_OUTPUT_DIR)/notebooks all: $(HTML_OUTPUT_DIR)/index.html diff --git a/docs/html/index.html b/docs/html/index.html index 25240c2..62a6077 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -91,9 +91,9 @@ coordinate pair in a square spiral (like the kind used to construct an

Run make in the docs directory.

Basics of Joy

Joy is stack-based. There is a main stack that holds data items: -integers, floats, strings, functions, and sequences or quotes which hold +integers, bools, symbols, and sequences or quotes which hold data items themselves.

-
23 1.8 'a string' "another" dup [21 18 /] [1 [2 [3]]]
+
23 dup [21 18 /] [1 [2 [3]]]
 

A Joy expression is just a sequence (a.k.a. "list") of items. Sequences intended as programs are called "quoted programs". Evaluation proceeds