2 ms·
No. My point is that language designers should try to implement different paradigms with mainstream syntax. This if they are interested in making their language
by pmontra 7y ago
No. My point is that language designers should try to implement different paradigms with mainstream syntax. This if they are interested in making their languages mainstream, which might not be their goal.
The script should do without the ands, the commas and the colons. The end of line should be the and, or what the language understands to be the end of a statement.
By the way, the dot or the semicolon after the end look really redundant.
- deleted 7y ago[deleted]
- YeGoblynQueenne 7y ago>> The end of line should be the and, or what the language understands to be the end of a statement. The problem with that is that the "," is there not to separate statements ("literals") but to declare a relation between them, specifically, conjunction. Conjunction is one relation that you may way to declare between literals. There is also disjunction and implication. So you do need something to separate "A and B" from "A or B" and "A if B". You say- "use whitespace for the and". OK. But then, what about the "or" and the "if"? And if we use special symbols for the "or" and the "if" then what's the point of not using one for the "and" also? As to "block" delimiters, like "." or ";" etc. As far as I can tell the only languages that do not have "block" delimiters are the kind you can find on https://esolangs.org/wiki/ https://esolangs.org/wiki/, and that is for reasons of a) readability, actually and b) convenience in compiler writing.