• nef@slrpnk.net
    link
    fedilink
    English
    arrow-up
    22
    ·
    3 days ago

    It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.

      • filcuk@lemmy.zip
        link
        fedilink
        arrow-up
        14
        ·
        3 days ago

        Those are still two different languages. HTML isn’t an umbrella term for HTML+CSS in any form.

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        3 days ago

        I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.

        Is R a compiled programming language because several of its built in functions run compiled C code? No.

        • Ziglin (it/they)@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          The point in that case would be that while not intended it could be used as a programming language. The R example seems unrelated. Every language must run compiled code at one point or else the CPU wouldn’t know what to do.