3 ms·
Why is this downvoted? Seems like a reasonable suggestion, and I don't see the haters suggesting alternative criteria...
by jonmrodriguez 14y ago
Why is this downvoted? Seems like a reasonable suggestion, and I don't see the haters suggesting alternative criteria...
- endtime 14y agoI didn't downvote him, but one alternative is that a language is defined by a grammar. Of course you'd want to group certain very similar grammars together as one language (Python 2.x and 3.x), but the grammars of CoffeeScript and JavaScript are significantly different.
- raganwald 14y agoThat’s also a reasonable definition. Since I didn’t say “if and only if,” both definitions are compatible. By the grammar definition, we could make a language with pure JavaScript semantics but Lisp-ish s-exprs, and it would be a different language as well.