bits and pieces
This commit is contained in:
parent
fe6567fd9e
commit
ea52cd7bfb
|
|
@ -2,6 +2,7 @@ README=../README.md
|
||||||
BUILD_SCRIPT=build_index.py
|
BUILD_SCRIPT=build_index.py
|
||||||
GENERATOR=python $(BUILD_SCRIPT)
|
GENERATOR=python $(BUILD_SCRIPT)
|
||||||
HTML_OUTPUT_DIR=./html
|
HTML_OUTPUT_DIR=./html
|
||||||
|
NOTEBOOK_OUTPUT_DIR=$(HTML_OUTPUT_DIR)/notebooks
|
||||||
|
|
||||||
|
|
||||||
all: $(HTML_OUTPUT_DIR)/index.html
|
all: $(HTML_OUTPUT_DIR)/index.html
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,9 @@ coordinate pair in a square spiral (like the kind used to construct an
|
||||||
<p>Run <code>make</code> in the <code>docs</code> directory.</p>
|
<p>Run <code>make</code> in the <code>docs</code> directory.</p>
|
||||||
<h2>Basics of Joy</h2>
|
<h2>Basics of Joy</h2>
|
||||||
<p>Joy is stack-based. There is a main stack that holds data items:
|
<p>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.</p>
|
data items themselves.</p>
|
||||||
<pre><code>23 1.8 'a string' "another" dup [21 18 /] [1 [2 [3]]]
|
<pre><code>23 dup [21 18 /] [1 [2 [3]]]
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A Joy expression is just a sequence (a.k.a. "list") of items. Sequences
|
<p>A Joy expression is just a sequence (a.k.a. "list") of items. Sequences
|
||||||
intended as programs are called "quoted programs". Evaluation proceeds
|
intended as programs are called "quoted programs". Evaluation proceeds
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue