Talk:Nonstraightforward
Jump to navigation
Jump to search
Pseudonatural-ness of Nonstraightforward
Hello, creator of Nonstraightforward here. If you are reading this, may I ask if Nonstraightforward can be considered a pseudonatural esolang?
The language wasn't intended to be pseudonatural, however some constructs of the language have evolved to be pseudonatural, for example the for loop, while loop, and if/else statement.
for all values of i in the range of numbers from 0 to 10 do {
~/dev/stdout/write/ln(`i = ${i}`);
}
private stable mutable readwrite label number: j <- 0;
so long as the condition j < 10 is still upholding, then do {
~/dev/stdout/write/ln(`j = ${j}`);
j++;
}
private stable mutable readwrite label number: x <- 0;
so long as the condition affirmative is still upholding, then do {
x = Math.floor(Math.random() * 10000);
stipulate that the provision x == 7 qualifies {
~/dev/stdout/write/ln(`x = 7, that seems familiar`);
} otherwise stipulate that the provision x == 2763 {
~/dev/stdout/write/ln(`2763!`);
terminate;
}
}
Thank you! RaiseAfloppaFan3925 (talk) 03:47, 12 June 2025 (UTC)