News for hackers. Stuff that matters.
Re:Linguistics and Programming Languages by TremendousJudge on Monday July 17, 2017 @02:18PM (#14791027)
Just look at JavaScript
Re:Linguistics and Programming Languages by msla on Monday July 17, 2017 @02:39PM (#14791223)
JavaScript cannot be ambiguous because there's a constant acid test: Does the machine find it ambiguous? If it does, it fails to parse. (If it parses, it wasn't ambiguous, but it still might mean something the programmer didn't intend.) That property will hold until we do something like embedding AI in the compiler.

Humans can deal with ambiguity. There are various reasons for humans to want to be ambiguous, and any natural language has to support that to be useful for day-to-day conversation. Loglan and Lojban might well escape that, if they're only ever used in contexts where ambiguity is not desired and will be repaired if it is found.

Think formal specifications, not love letters.

Re:Linguistics and Programming Languages by setr on Monday July 17, 2017 @06:33PM (#14792798)
Isn't the automated insertion of semicolons to your detrimemt a result of ambiguity in the language, and the compiler forced to decide
Re:Linguistics and Programming Languages by laszlokorte on Monday July 17, 2017 @07:52PM (#14793293)
The rules for automatic semicolon insertion are defined by the language spec.