summaryrefslogtreecommitdiff
path: root/chapter28b
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-11-08 14:10:02 -0800
committerCliff Click <cliffc@acm.org>2026-11-08 14:10:02 -0800
commit06fb5aceeb65a75b1cd643debd667c52fdcafcb9 (patch)
treec99813eaf27d98f840245302c4d6e923c964307e /chapter28b
parent6560a92433a38825fd1d44d9c66ffba9f26990ff (diff)
downloadSimple-ch30.tar.gz
Simple-ch30.zip
Better error messagesch30
Better error messages. Buffs to the std lib; getch() to fetch a single character; streaming I/O handles retries, and large sizes, with better error reporting. Formatted strings. Default int moved to i32. TicTacToe, the game.
Diffstat (limited to 'chapter28b')
-rw-r--r--chapter28b/ainotes.txt34
1 files changed, 0 insertions, 34 deletions
diff --git a/chapter28b/ainotes.txt b/chapter28b/ainotes.txt
deleted file mode 100644
index 5678e686..00000000
--- a/chapter28b/ainotes.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-
-Historical design notes from the former combined Chapter 25, now Chapter 28b.
-The cleanup record is in ../skills/stage-audit.md; remaining work is in
-../docs/roadmap.md. The original intent below is preserved.
-
-Meta-info: I intend to keep extending and re-editing this "ainotes.txt" file so
-I can reprompt the you (the AI) between AI restarts, As such this file will
-contain a mix of high-level design decisions, goals, intents and wisdom, and
-then taper down to more detailed problems and solutions - which probably keep
-changing.
-
-AI is allowed access to all files recursively in "C:/Users/cliffc/Desktop/Simple"
-directory.
-
-Meta-info: all the tests run with `make tests` currently run, and should again
-run before we accept any changes.
-
-
-The overall project is rooted in the `Simple/` directory,
-and is a compiler tutorial broken up into chapters.
-The chapters build on each other.
-
-Read the code in this chapter25; the goal in this chapter is to allow separate
-compilation. I want to compile a "standard library", the start of which is in
-`src/main/smp/sys.smp` and subdirectories and end up with either an archive or
-a "fat ELF .o" file.
-
-Then I want to compile a 1-liner "hello world" program:
- `sys.io.p("Hello World!");`
-and have the symbols `sys`, `io` and `p` be found in the standard library.
-
-I am using a test case to represent this seperate compilation strategy in
-`Chapter25Test.testModules`. There are comments there to help drive my
-thinking.