cm0002@lemmy.world to Programmer Humor@programming.dev · 4 个月前Not incorrect.mander.xyzimagemessage-square64fedilinkarrow-up1429arrow-down114
arrow-up1415arrow-down1imageNot incorrect.mander.xyzcm0002@lemmy.world to Programmer Humor@programming.dev · 4 个月前message-square64fedilink
minus-squarestetech@lemmy.worldlinkfedilinkarrow-up1·4 个月前So where in that can I encode an arbitrary program? Like one could do in JavaScript?
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up2·4 个月前Create a table of checkboxes with the rule 110 CSS applied. Translate your program to a rule 110 program and put it in the top row of the table. Advance the computation by checking the marked (orange in the example) checkboxes row by row. Example
minus-squarestetech@lemmy.worldlinkfedilinkarrow-up2·4 个月前Well yeah, with CSS and user interaction it’s understandable… as I’ve linked above. The question was if this is possible for purely-HTML markup descriptions without CSS nor clicks, and it was a rhetorical one.
So where in that can I encode an arbitrary program? Like one could do in JavaScript?
Create a table of checkboxes with the rule 110 CSS applied.
Translate your program to a rule 110 program and put it in the top row of the table.
Advance the computation by checking the marked (orange in the example) checkboxes row by row.
Example
Well yeah, with CSS and user interaction it’s understandable… as I’ve linked above.
The question was if this is possible for purely-HTML markup descriptions without CSS nor clicks, and it was a rhetorical one.