This got me thinking is it Turing complete?
“Program:
for i in range(10):
if(i % 2):
print(f”{i}”)
Output:”Output: “1 3 5 7 9”
This is definitely worth a lot more investigation.
What's even more interesting is that you can "teach" it languages, either by explaining what something does, or by providing examples. For example, if you feed it https://en.wikipedia.org/wiki/Brainfuck#Commands, it can handle simple Brainfuck programs (but gets confused esp. by nested loops).
Thanks!
Use pseudographics to render the following HTML:
<table border="1">
<tr><th>Name</th><th>Value</th></tr>
<tr><td rowspan="2">Foo</td><td>123</td></tr>
<tr><td>456</td></tr>
<tr><td>Bar</td><td>789</td></tr>
</table>
+-------+-------+
| Name | Value |
+-------+-------+
| Foo | 123 |
| | 456 |
+-------+-------+
| Bar | 789 |
+-------+-------+
So I guess we could say that GPT-3 also has some kind of simple HTML layout engine! I was particularly impressed that it got rowspan right.I guess the next step would be to combine HTML with JS and see if GPT-3 has a mutable DOM...