aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-23 09:54:18 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-23 09:59:10 -0400
commit63b3321c62dabec3665756704eaceaed22eb5b4a (patch)
tree7579e8dd4d7c0b3353427b3ef46653bb250ee42d /doc
parent69a970243bc59c3b7b2706a9b32cceb0bda7512c (diff)
Rename SVG to GEN since really it makes arbitrary HTML
Diffstat (limited to 'doc')
-rw-r--r--doc/functional.md2
-rw-r--r--doc/primitive.md2
-rw-r--r--doc/types.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/functional.md b/doc/functional.md
index fc6541ba..fde4d3f7 100644
--- a/doc/functional.md
+++ b/doc/functional.md
@@ -8,7 +8,7 @@ First, let's be clear about what the terms we're using mean. A language has *fir
Traditionally, APL has worked around its lack of first-class functions with operators, that is, second-order functions. Arrays in APL are first class while functions are second class and operators are third class, and each class can act on the ones before it. However, the three-tier system has some obvious limitations that we'll discuss, and BQN removes these by making every type first class.
-<!--SVG
+<!--GEN
pl ← <˘∘‿2⥊⟨
"APL", 25‿47
"Pascal", 45‿12
diff --git a/doc/primitive.md b/doc/primitive.md
index 3c6faa8b..fd2c7b2d 100644
--- a/doc/primitive.md
+++ b/doc/primitive.md
@@ -55,7 +55,7 @@ Functions that have significant differences from APL functions are marked with a
## Modifiers
-<!--SVG combinator.bqn-->
+<!--GEN combinator.bqn-->
*Combinators* only control the application of functions. Because a non-function operand applies as a constant function, some combinators have extra meanings when passed a constant. For example, `0˜` is identical to `0˙`—a constant function that always returns 0—and `0⊸<` is the function that tests whether its right argument is greater than 0.
diff --git a/doc/types.md b/doc/types.md
index feef755e..51a9b9f8 100644
--- a/doc/types.md
+++ b/doc/types.md
@@ -13,7 +13,7 @@ BQN supports the following fundamental types:
The first three types are called *data types*, and the rest are *operation types*. The array is the only *compound type*; the other types are *atomic types* and values of these types are called *atoms*. The fact that an array is only one type of many is common in modern programming languages but a novelty in the APL family. This decision is discussed in the page on [based array theory](based.md).
-<!--SVG
+<!--GEN
types ← ⍉"Number"‿"Character"‿"Array"≍"Function"‿"1-modifier"‿"2-modifier"
sh ← ≢ types
p ← 64‿38