Is there an objective measure of a programming language's complexity in terms of syntax and semantics, not how complex the language is to use ?
I've read many subjective comments but little rigorous analysis.
Language's BNF is a rough measure - just for a taste :-)
A few examples,
It's not clear to me that complexity is even a well-defined term when applied to a programming language.
If by "objective" you mean "quantitative", you could ask such questions as
How big is an unambiguous grammar?
How big is a working yacc grammar?
Since almost no language has a formal semantics, it's hard to do any quantitative studies. But you could ask
Except as a matter of curiosity, it's not clear to me that this question is worth asking—it's hard to imagine useful answers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With