From f4d2fa3fb2f41a0231040f7e005c4bd467855620 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Sat, 14 Nov 2026 16:48:21 +0100 Subject: s/zisp/xisp/g on notes --- notes/250228-macros.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'notes/250228-macros.md') diff --git a/notes/250228-macros.md b/notes/250228-macros.md index d9c946c..ca7ae7c 100644 --- a/notes/250228-macros.md +++ b/notes/250228-macros.md @@ -22,7 +22,7 @@ On one hand, sure: (vector ' ...))) Or something like that. You know what I mean? I mean, in Scheme you -can't return a vector from a macro, but in Zisp the idea is that you +can't return a vector from a macro, but in Xisp the idea is that you can very well do that if you want, because why not. It's very much possible that I will eventually realize that this is a @@ -31,7 +31,7 @@ a macro just returning objects, like a procedure, rather than having to return a syntax object that has a binding to that procedure. This may be similar to John Shutt's "vau calculus" from his language -Kernel. Maybe Zisp will even end up being an implementation of the +Kernel. Maybe Xisp will even end up being an implementation of the vau calculus. But I don't know; I've never fully grokked the vau calculus, so if I end up implementing it, it will be by accident. @@ -43,7 +43,7 @@ But then there's an issue with quoting. Consider the following: (define stuff '(foo #(0 1 2))) -In Zisp, this would first of all be parsed into: +In Xisp, this would first of all be parsed into: (define stuff (#QUOTE foo (#HASH 0 1 2))) @@ -59,7 +59,7 @@ macro expander, whoops: ;; => (bar #(0 1 2)) I mean... MAYBE that should happen, actually?! Probably not, though. -What Scheme does isn't gospel; Zisp isn't Scheme and it will do some +What Scheme does isn't gospel; Xisp isn't Scheme and it will do some things differently, but we *probably* don't want anything inside a quoted expression to be macro expanded. Probably. @@ -86,7 +86,7 @@ level of comprehensibility of code containing literals, I think it's good for there to be something that you just know will turn into an object of some type, no matter what; that's what a literal is. -(In Zisp, it's not the reader that immediately turns the literal into +(In Xisp, it's not the reader that immediately turns the literal into an object of the correct type, but the decoder still runs before the evaluator so it's almost the same.) @@ -96,7 +96,7 @@ more elegant if everything is a macro. Don't pile feature on top of feature, remember? Booleans, by the way, would just be identifier syntax then. Just -`true` and `false` without the hash sign. In Zisp, you can't shadow +`true` and `false` without the hash sign. In Xisp, you can't shadow identifiers anyway, so now they're like keywords in other languages, also a bit like `t` and `nil` in CL and Elisp. -- cgit v1.2.3