From 5ccaa25d75ba631f24d3a1caf812ecab8a6f483a Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Mon, 12 Jan 2026 07:02:54 +0100 Subject: Add two existing notes to index. --- notes/250219-format.md | 16 ---------------- notes/250329-unread.md | 6 ++---- notes/format.md | 16 ++++++++++++++++ notes/index.md | 2 ++ 4 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 notes/250219-format.md create mode 100644 notes/format.md (limited to 'notes') diff --git a/notes/250219-format.md b/notes/250219-format.md deleted file mode 100644 index a7cd019..0000000 --- a/notes/250219-format.md +++ /dev/null @@ -1,16 +0,0 @@ -# I hate 'display' - -_2025 February_ - -WIP WIP WIP - -(format "template" arg ...) ;sprintf -(format obj) ;like write but returns string -(format! "template" arg ...) ;printf -(format! arg) ;write - -The ones with a string template are special forms and process the -template string at compile time and ensure correct number of args. - -Need a way to let a special form's name also appear as an identifier -like Guile does it with record accessors and shit. diff --git a/notes/250329-unread.md b/notes/250329-unread.md index 31b2f91..6f9b12c 100644 --- a/notes/250329-unread.md +++ b/notes/250329-unread.md @@ -1,5 +1,7 @@ # Must ports support seeking? +_2025 March_ + With traditional s-expressions, it's not always possible to stop reading bytes as soon as the end of the current datum is reached, because some data don't have a terminating character. Consider a @@ -30,7 +32,3 @@ additional data can be joined like this, yielding a more and more deeply nested compound datum. Only a blank or EOF can end this, meaning that disjoint data within a stream are necessarily delimited by blanks. - - - -*** WIP *** diff --git a/notes/format.md b/notes/format.md new file mode 100644 index 0000000..37d6017 --- /dev/null +++ b/notes/format.md @@ -0,0 +1,16 @@ +# I hate 'display' + +_2025 February_ + +WIP WIP WIP + +(format "template" arg ...) ;sprintf +(format obj) ;like write but returns string +(format! "template" arg ...) ;printf +(format! arg) ;write + +The ones with a string template are special forms and process the +template string at compile time and ensure correct number of args. + +Need a way to let a special form's name also appear as an identifier +like Guile does it with record accessors and shit. diff --git a/notes/index.md b/notes/index.md index 0550055..197261f 100644 --- a/notes/index.md +++ b/notes/index.md @@ -17,6 +17,8 @@ * [Does the decoder implement macros?](250228-macros.html) * [Better syntax-rules?](250228-sr.html) * [Cons cell optimization?](250317-fastcons.html) +* [Symbols and strings, revisited](250329-strings.html) +* [Must ports support seeking?](250329-unread.html) * [Numeric tower](250329-numbers.html) * [Bootstrapping](250329-boot.html) * [Using libgccjit?](250920-libgccjit.html) -- cgit v1.2.3