What does your sleep paralysis demon ask you?

  • istdaslol@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    4 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

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      4 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.

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      4 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
        0
        ·
        4 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.

      • Skull giver@popplesburger.hilciferous.nl
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Using modern technology, you can write a C Windows application that runs on Wine that runs on Linux that runs on QEMU running on WASM inside a web browser running on macOS that runs on a virtual machine controlled by a Linux hypervisor. Even the individual instructions sent to the CPU are decoded by a layer of software that rewrites and reorders them inside the CPU. The CPU that may very well contain a smaller Pentium CPU running Minix to maintain operation of the rest of the CPU.

        Software lunacy has made low/high-level programming languages obsolete. Everything can be distilled into Javascript runtimes, nothing is a real programming language anymore.

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      I’m writing an NES game in C and struggling with some nonsense that’d be trivial in ASM, so I’m recently inclined to say yes.

      • brisk@aussie.zone
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Can you just drop to assembly for what you want to do? Gnu compilers even have inline assembly, but with any compiler you should at least be able to built a separate, assembly, object file.

    • linkhidalgogato@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      4 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
        0
        ·
        4 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
        0
        ·
        edit-2
        4 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.

        • deathmetal27@lemmy.worldOP
          link
          fedilink
          arrow-up
          0
          ·
          4 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
                ·
                4 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
                  0
                  ·
                  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.

        • NauticalNoodle@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          It’s not a logical programming language, but markup directs the formatting and general output of content to the screen. -Is that not a function of programming?

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

            Does that make Rich Text Format a programming language then? Does that make jpg a programming language?

            I think that markup is the data that a program takes as input - but I also think it’s not black and white. How programmy a language is is a sliding scale.

            • NauticalNoodle@lemmy.ml
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              4 months ago

              Those are interesting analogies. I guess I’d have to agree they are certainly a function of programming whereas I probably should have specified programming languages (directed by text) but then one could argue that the examples you mentioned are merely a language of buttons and other user input. —"Sliding scale " indeed.

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

                Sorry I wasn’t clear, I meant the formats themselves.
                Writing rich text using a text editor is kind of like writing HTML with a WYSIWYG editor, but just like with HTML you can go in and write RTF by hand.
                Likewise you can use Photoshop to make an image, but you could also go in and set the pixel values of a bmp by hand.

                By sliding scale I didn’t mean wrt how you wrote them, but rather how much like an “instruction” the file tokens (for lack of better word) are. Is it instructing the computer to do something? Or is it data that the instructions act on?

                Sometimes the line between input data and instruction is blurry.

  • wuphysics87@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    4 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.

  • Tartas1995@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    4 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?