Add ideas for nesting identifiers readably

Vectornaut 2025-11-06 20:11:15 +00:00
parent 75507fc9ee
commit 33049f864c

@ -113,4 +113,8 @@ r is Angle a b is Sphere
Angle a Sphere named b named r 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! 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.