What does your sleep paralysis demon ask you?

  • istdaslol@feddit.org
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Yes. Markup-Languages are a subset of Programming-Languages. Turing completness doesn’t matter as things like magic the gathering and habbo hotel are Turing complete

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      I feel like programming language produces programs, and makeup languages formatted documents.

      I wouldn’t consider a formatted document to be a program, so I don’t consider a markup language to be a programming language.

      Doesn’t make it less valuable, though

      • 𝘋𝘪𝘳𝘬@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        ACKSHUALLY … markup languages do not produce a formatted document. They define semantic elements of the document. The formatting is done by the compiler (whatever it is in the individual context) based on styles defined by a styling language.

        • PeriodicallyPedantic@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          That’s true! Although many people use makeup to do styling using the default styles… Which is… Not great.

          But regardless I think my point still holds, it’s not providing instructions for a machine, it’s the data the instructions act on. But the difference between data and instructions is a blurry one

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      3 months ago

      ‘This markup language isn’t even as capable as Habbo Hotel, but it counts anyway because I just called it a programming language.’

      There is a literal hierarchy of syntaxes which are recognized by different categories of machine. Programs require a Turing machine. Anything lesser - in a subset like pushdown automata or finite-state machines - doesn’t need a proper computer. So it’s not a program.

  • wuphysics87@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Does HTML or LaTeX or Markdown provide a computer instructions which are executed? I’m going to take the unpopular opinion and say they are programming languages.

        • deathmetal27@lemmy.worldOP
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Do I really have to explain the joke? The sleep paralysis demon is asking “Is HTML a programming language?” And the person is “sleep paralysed” to correct them or do anything about it really.

          I don’t know what else I can explain besides that.

              • PeriodicallyPedantic@lemmy.ca
                link
                fedilink
                arrow-up
                0
                ·
                3 months ago

                Nearly all the comments are taking a literal position on if it is or isn’t a programming language.

                Idky I’m being singled out for not understanding the joke. It seems like nearly nobody does. And I still don’t.

                • Jimbabwe@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  3 months ago

                  The “joke” is that it’s an issue that people feel compelled to comment on, but the sleeping person can’t. Predictably, most people are blowing straight past this and commenting their opinions, but most of the other replies are joking or whimsical. Yours is straightforward no-nonsense. If I had to guess, I’d say that’s why you’re being singled out.

    • linkhidalgogato@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      programing languages arent use to make programs they are used to program machines which is exactly what u do with html.

      • PeriodicallyPedantic@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        The “program” is the package of instructions that tell the machine what to do. The instructions are written in a programming language.

        With a markup language, the markup is the input to a program (like a browser) that tells the machine what to do.

        But I think it’s not really boolean, it’s a sliding scale. Especially with so many programming languages being interpreted or JIT compiled. I think it’s less a programming language than many other programming-related things, but more of a programming language than, say, a slideshow.

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        they are used to program machines

        Which HTML cannot do, because if it could, that would be called a program. That’s what the word means.

        HTML makes documents. It’s a markup language. It’s not even Turing-complete accidentally.

  • electricprism@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Hyper Text Markup Language

    A. Yes it’s a language.

    B. People who write HTML have been called Programmers for decades.

    C. Are you writing in a kind of pseudo code that the computer is going to transform into another form? Yes.

    I think the problem here isn’t that HTML isn’t a programming language. The problem is that we don’t further classify programming languages.

    There should be Platform Languages and Client languages.

    HTML is most definitely a Client Language.

  • Tartas1995@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    3 months ago

    As much as a lot of us dislike it… I think it is difficult to argue for e.g. python being a programming language without including html in it.

    And honestly if python is no a programming language because you use an interpreter… Then I would love to hear a non-bad-faith argument for c being a programming language as e.g. GCC could easily be viewed as an interpreter too. Obviously there is a difference but is that difference really the difference that you want it to be?