Re:Show HN: Octaspire Dern – Programming language
by akkartik on Monday April 10, 2017 @12:33PM
(#14079963)
Oh I see. Perhaps I misunderstood what undershirt meant by "significant whitespace". Yes, in Mu [ abcd ] is different from [abcd]. I believe that to be true about Dern as well. This is all exactly as for text inside double-quotes in C.
Is there something I'm missing that mitigates this intuition? Does this language (or, for that matter, the demo language you wrote for your class) ignore leading or trailing whitespace inside square brackets? What about excess whitespace between words (that is, whitespace beyond a single space or tab)? If so, if indeed leading/trailing/excess whitespace is collapsed inside of square bracket delimited strings, how would I create a string with leading or trailing whitespace or extra space between words if I wanted to?
Honest questions; don't mean to criticize, just eager to learn.