aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/modules.txt5
-rw-r--r--src/lib/std.zc4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/modules.txt b/src/lib/modules.txt
new file mode 100644
index 0000000..7e157fd
--- /dev/null
+++ b/src/lib/modules.txt
@@ -0,0 +1,5 @@
+# libraries under src/lib that are read from their file by `include name;`.
+# std and icon are embedded in the compiler and are not listed. the compiler
+# reads this list only to suggest a library for a name it can't find, so a
+# library missing here still includes; it just isn't suggested.
+actor
diff --git a/src/lib/std.zc b/src/lib/std.zc
index dfa9841..f0bc390 100644
--- a/src/lib/std.zc
+++ b/src/lib/std.zc
@@ -65,9 +65,9 @@ int libinit() {
// returns it. writes go to the buffer instead of the terminal until end()
// stops it, so the buffer is a string once end() has run:
// let buf = capture.start();
-// put_s("hello world!"); // nothing on the terminal
+// rt.put_s("hello world!"); // nothing on the terminal
// capture.end(buf);
-// put_s(buf); // hello world
+// rt.put_s(buf); // hello world
// one capture at a time, and the buffer belongs to whoever holds it.
struct capture {