Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.compilers > #3579
| From | Hans-Peter Diettrich <DrDiettrich1@netscape.net> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages |
| Date | 2024-06-12 11:27 +0200 |
| Organization | Compilers Central |
| Message-ID | <24-06-016@comp.compilers> (permalink) |
| References | <24-06-003@comp.compilers> |
On 6/10/24 2:21 PM, John R Levine wrote: > generates small programs from > the grammars of several popular programs, I think that the *syntactic grammar* of program *languages* is meant: >> The key idea is to measure the compilation success rates of programs sampled from context-free grammars. << Then I wonder how ever valid random programs can be generated for languages that require a declaration before use of an identifier, clearly a *semantic* issue. A CQ of 40 for C indicates to me that certain semantic rules have been built into the program generator. Or what did I not understand right? DoDi [The paper describes the grammars they use. C grammar requires declarations precede other statements so that's easy to get right. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Find similar
Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages John R Levine <johnl@taugh.com> - 2024-06-10 14:21 +0200
Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages Jon Chesterfield <jonathanchesterfield@gmail.com> - 2024-06-10 19:20 +0100
Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages Derek <derek-nospam@shape-of-code.com> - 2024-06-11 00:28 +0100
Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages anton@mips.complang.tuwien.ac.at - 2024-06-11 07:57 +0000
Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages Derek <derek-nospam@shape-of-code.com> - 2024-06-11 22:45 +0100
Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages anton@mips.complang.tuwien.ac.at - 2024-06-14 16:00 +0000
Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages Derek <derek-nospam@shape-of-code.com> - 2024-06-10 20:30 +0100
Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2024-06-12 11:27 +0200
csiph-web