From 33049f864ccb9d7d38cb1bc17100e978c69f80ff Mon Sep 17 00:00:00 2001 From: Vectornaut Date: Thu, 6 Nov 2025 20:11:15 +0000 Subject: [PATCH] Add ideas for nesting identifiers readably --- Command-language.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Command-language.md b/Command-language.md index 074e5e1..f756a3f 100644 --- a/Command-language.md +++ b/Command-language.md @@ -113,4 +113,8 @@ r is Angle a b is Sphere Angle a Sphere named b named r ``` -It seems like this should assign the identifier `r` to the angle between `a` and a new sphere with identifier `b`. Readability is very poor for both versions! \ No newline at end of file +It seems like this should assign the identifier `r` to the angle between `a` and a new sphere with identifier `b`. Readability is very poor for both versions! Suggestions: +- If the language has both statements and expressions, `is` could be a statement, and thus syntactically inadmissible for nesting. +- If the language is purely expression-based: + - An `is` expression could return unit, making it semantically inadmissible for nesting. + - An `is` expression could require punctuation for nesting. \ No newline at end of file