4 ms·
OK, so to paraphrase your position: C has clear and complete semantics because anything written in C that doesn't have clear and complete semantics is, by defin
by brianberns 10y ago
OK, so to paraphrase your position: C has clear and complete semantics because anything written in C that doesn't have clear and complete semantics is, by definition, not actually written in C. Yes?
To me, that's like saying the tax code doesn't contain any loopholes, because any loopholes that it contains are, by definition, not actually part of the tax code.
While amusing, I don't think this is a fruitful way to look at the problem. :)
- loeg 10y agoYou can write things that look like C, but that doesn't make them valid C. Invalid code is just a collection of ASCII characters, I guess.
- pasquinelli 10y agoDoes the parser reject it? That's the test for syntactically valid c.
- loeg 10y agoSyntactically valid is not a perfect match for valid.