cm0002@lemmy.world to Programmer Humor@programming.dev · 1 年前Not incorrect.mander.xyzimagemessage-square64fedilinkarrow-up1420cross-posted to: programmerhumor@lemmy.ml
arrow-up1420imageNot incorrect.mander.xyzcm0002@lemmy.world to Programmer Humor@programming.dev · 1 年前message-square64fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up32·1 年前Assuming you’re talking about HTML5 & CSS it actually is Turing Complete.
minus-squareBeardedGingerWonder@feddit.uklinkfedilinkEnglisharrow-up18·1 年前Has anyone ported doom yet?
minus-squarestetech@lemmy.worldlinkfedilinkarrow-up10·edit-21 年前Wrong. Well, at least incomplete. You need user interaction (e.g., clicking on a button) and HTML & CSS for Turing Completeness, apparently.
minus-square大きいBOY@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·1 年前It’s a programming language regardless of it’s completeness. You give a computer instructions, in a DSL, it gets interpreted. Don’t gate keep.
minus-squaremexicancartel@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up8·edit-21 年前My voyager app is a programming laguage. When i click post, it gets interpreted and sends a comment to the server Btw, is english a programming language cuz AI interprets it and does something with it?
minus-squarestetech@lemmy.worldlinkfedilinkarrow-up1·1 年前Who is “it” which interprets things? Is it part of HTML/CSS?
minus-square大きいBOY@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·edit-21 年前The browser. When it reads the HTML and creates a DOM based on the provided instructions.
minus-squarestetech@lemmy.worldlinkfedilinkarrow-up1·1 年前So where in that can I encode an arbitrary program? Like one could do in JavaScript?
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up2·1 年前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·1 年前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.
Assuming you’re talking about HTML5 & CSS it actually is Turing Complete.
Has anyone ported doom yet?
Wrong. Well, at least incomplete.
You need user interaction (e.g., clicking on a button) and HTML & CSS for Turing Completeness, apparently.
It’s a programming language regardless of it’s completeness. You give a computer instructions, in a DSL, it gets interpreted.
Don’t gate keep.
My voyager app is a programming laguage. When i click post, it gets interpreted and sends a comment to the server
Btw, is english a programming language cuz AI interprets it and does something with it?
Who is “it” which interprets things? Is it part of HTML/CSS?
The browser. When it reads the HTML and creates a DOM based on the provided instructions.
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.