11
2
Inspired by github.com/JackToaster/Reassuring-Parable-Generator, in turn inspired by xkcd.com/1263. The possible words are derived from the reassuring.cfg of that repository.
Having a look at the reassuring.cfg (use the 12th commit) is suggested to see the grammar the output matches (The output is a list of all strings matching the grammar).
Task: Your program must output all 7968 case-sensitive lines of the exact text contained in the pastebin pastebin.com/2SNAJ1VH. A copy of the pastebin is saved in the Wayback Machine
Here is a sample of 33 motivating lines from the pastebin:
Computers can't enjoy a salad.
Computers can't enjoy a cake.
Computers can't enjoy a ice cream cone.
Computers can't enjoy a meal.
Computers can't enjoy a drink.
Computers can't enjoy a steak.
Computers can't enjoy a chicken dinner.
Computers can't enjoy a piece of cake.
Computers can't enjoy a piece of pie.
Computers can't enjoy a cookie.
Computers can't enjoy a sandwich.
Computers can't taste a salad.
Computers can't taste a cake.
Computers can't taste a ice cream cone.
Computers can't taste a meal.
Computers can't taste a drink.
Computers can't taste a steak.
Computers can't taste a chicken dinner.
Computers can't taste a piece of cake.
Computers can't taste a piece of pie.
Computers can't taste a cookie.
Computers can't taste a sandwich.
Computers can't experience eating a salad.
Computers can't experience eating a cake.
Computers can't experience eating a ice cream cone.
Computers can't experience eating a meal.
Computers can't experience eating a drink.
Computers can't experience eating a steak.
Computers can't experience eating a chicken dinner.
Computers can't experience eating a piece of cake.
Computers can't experience eating a piece of pie.
Computers can't experience eating a cookie.
Computers can't experience eating a sandwich.
Challenge rules:
- The lines output may be ordered in any way you want, but all 7968 of them must be included.
- The output should be as a single flat string, not as a list of strings.
- Your program should accept no input or an empty unused input.
- Your program may not fetch data from any online source.
- A single trailing newline is optional.
This is code-golf, so shortest code wins.
Related – James – 2017-07-13T06:16:00.890
4
No computer {can} {action}.
is repeated twice, andComputers {cannot_present}
produces phrases like "Computers is incapable of". Intentional? – darrylyeo – 2017-07-13T08:14:35.193Any apparent mistakes in the pastebin must be included in the output for all programs (we cannot change specifications for past programs). The reassuring.cfg is just a sample grammar which is at least quite accurate. – fireflame241 – 2017-07-13T14:50:51.587
To compete in this Id have to write a parser for the input just to list the uniques lol. – Magic Octopus Urn – 2017-07-13T19:30:24.943
For reference, the TIO link to the Bubblegum solution is too long to put in an answer. The source code is 23270 bytes. – musicman523 – 2017-07-14T01:03:49.830