diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2026-11-14 16:48:21 +0100 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2026-11-14 16:48:21 +0100 |
| commit | f4d2fa3fb2f41a0231040f7e005c4bd467855620 (patch) | |
| tree | 0aa6d59bd467ed0bac1b3aae8d4ad6f02298cb8f /notes/250210-cons.md | |
| parent | ee7a205bd8235255b652038bfef779744f3d93f5 (diff) | |
s/zisp/xisp/g on notes
Diffstat (limited to 'notes/250210-cons.md')
| -rw-r--r-- | notes/250210-cons.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/notes/250210-cons.md b/notes/250210-cons.md index 1ce97b9..dfd6a8a 100644 --- a/notes/250210-cons.md +++ b/notes/250210-cons.md @@ -30,7 +30,7 @@ alternative: [A New Approach to Procedures with Variable Arity](https://legacy.cs.indiana.edu/~dyb/pubs/LaSC-3-3-pp229-244.pdf) Let's first summarize the paper, and then see how we can adapt its -ideas for Zisp. +ideas for Xisp. Long story short, rest argumenst are received through a parameter list such as `(arg1 ... argn & rest)` and the identifier `rest` is special @@ -62,7 +62,7 @@ combining this feature with what is today known as `case-lambda`: Though the paper proposes the use of `&` so as to differentiate it from the regular rest-argument mechanism of Scheme, I intend to make -Zisp use only this mechanism, so we can use the dot notation for it. +Xisp use only this mechanism, so we can use the dot notation for it. Rewriting the above examples in this style gives us: ```scheme @@ -99,7 +99,7 @@ Essentially, this means that the special rest-arg identifier is itself a representation of multiple values, or in other words, evaluating it results in multiple values even though it's just an identifier! -Demonstration, using Zisp notation for multiple-value rest args: +Demonstration, using Xisp notation for multiple-value rest args: ```scheme @@ -156,7 +156,7 @@ example, since the following s-expressions are equivalent: ``` -In Zisp, this will be solved by making `apply` a special-form where +In Xisp, this will be solved by making `apply` a special-form where the last operand is expected to evaluate to multiple values rather than a list: @@ -177,14 +177,14 @@ representing arguments in the first place; it should always have been multiple values! (The phrase "argument list" is probably going to stick around forever -though, even if it's technically wrong in Zisp.) +though, even if it's technically wrong in Xisp.) ## Grammar switch-up! _2026 January_ For [reasons](260106-grammar.html) I've decided to actually use the -ampersand in place of the dot in Zisp s-expressions. Not like in the +ampersand in place of the dot in Xisp s-expressions. Not like in the paper linked above; the ampersand simply replaces the dot in the representation of improper lists. |
