The English Programming Language
github.com
The English Programming Language
1–10 of 78 posts
Re: The English Programming Language
#2Well, there’s Inform 7: https://ganelson.github.io/inform-website/ :)
Re: The English Programming Language
#3Re: The English Programming Language
#4 MULTIPLY TAX-RATE OF STATE(43) BY BALANCE GIVING SALES-TAX-AMOUNT.
Note the period is sigificant.Re: The English Programming Language
#5although this is one of my favouite programs (or poems), i have never before noticed that it is one quite long poem (or program) terminated by a period - i wonder why Frost did that? possibly a pascal programmer?
Re: The English Programming Language
#6> Currently, the only compiler available is Wernicke Well, there’s Inform 7: https://ganelson.github.io/inform-website/ :)
Re: The English Programming Language
#7As someone who worked on a 35 million loc cobol and jcl system for several years in the late 90's, I don't find this to be funny at all. Cobol was purported to be readable with english language like syntax to make it more understandable. Giving gems such as: MULTIPLY TAX-RATE OF STATE(43) BY BALANCE GIVING SALES-TAX-AMOUNT. Note the period is sigificant.
Re: The English Programming Language
#8As someone who worked on a 35 million loc cobol and jcl system for several years in the late 90's, I don't find this to be funny at all. Cobol was purported to be readable with english language like syntax to make it more understandable. Giving gems such as: MULTIPLY TAX-RATE OF STATE(43) BY BALANCE GIVING SALES-TAX-AMOUNT. Note the period is sigificant.
I have no doubt English like syntax is a terrible idea but this seems like a surprisingly readable example.
sales_tax_amount = balance * state[42].tax_rate;
(Assuming I've guessed the meaning of the Cobol correctly - perhaps that's the rub.)(ETA: Added semicolon.)
(ETA2: Fixed critical indexing bug.)
Re: The English Programming Language
#9LOL!
Though I have a bug report. There are actually only 320k. This makes me feel sad.
Re: The English Programming Language
#10As someone who worked on a 35 million loc cobol and jcl system for several years in the late 90's, I don't find this to be funny at all. Cobol was purported to be readable with english language like syntax to make it more understandable. Giving gems such as: MULTIPLY TAX-RATE OF STATE(43) BY BALANCE GIVING SALES-TAX-AMOUNT. Note the period is sigificant.
It's called ADD 1 TO COBOL GIVING COBOL.