aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-05-21 16:16:16 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-02 14:24:49 +0000
commit6023a46cb30ac788ace35632df6cd4646145db4d (patch)
treeb7a20a119667808679eaa6de234ee413cb046587 /docs
parentmove array and struct constructor into builtins (diff)
downloadalive-6023a46cb30ac788ace35632df6cd4646145db4d.tar.gz
alive-6023a46cb30ac788ace35632df6cd4646145db4d.zip
rename alv.builtin to alv.builtins
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/gen/index2
-rw-r--r--docs/internals/extensions.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/gen/index b/docs/gen/index
index 55dd1df..dff601a 100755
--- a/docs/gen/index
+++ b/docs/gen/index
@@ -43,7 +43,7 @@ spit OUT, layout
h2 a "builtins", href: '#builtins'
p "These definitions are automatically loaded into the global Scope of
every alive session."
- ul for key, val in opairs (require 'alv.builtin').values
+ ul for key, val in opairs (require 'alv.builtins').values
li render key, val.result
}
}
diff --git a/docs/internals/extensions.md b/docs/internals/extensions.md
index e541d9a..29cc075 100644
--- a/docs/internals/extensions.md
+++ b/docs/internals/extensions.md
@@ -177,7 +177,7 @@ how their arguments are evaluated. They roughly correspond to *macros* in Lisps.
There is less of a concrete guideline for implementing Builtins because there
are a lot more options, and it really depends a lot on what the Builtin should
achieve. Nevertheless, a good starting point is to read the `Builtin` class
-documentation, take a look at `Builtin`s in `alv/builtin.moon` and get
+documentation, take a look at `Builtin`s in `alv/builtins.moon` and get
familiar with the relevant internal interfaces (especially `AST`, `Result`, and
`Scope`).