We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Q M

From Esolang
Jump to navigation Jump to search

Q_M(Question_Mark) is an one cell esolang created on September 13th 2026 by the github user ZViperSw. The language was inspired by brainfuck.

== Syntax ==

The syntax of Q_M is pretty straightforward since it only consists of 2 symbols used for creating the instructions

"?" representing the number 1 "_" representing the number 0

The available instructions are:

   Opcode       Instruction
   01111110     ADD
   01100000     DEC
   00101110     OUTPUT
   00100100     SQUARE
   01011110     CHAR_OUTPUT
   01011100     HALT

These instructions should be self-explanatory. To write a basic program that calculates 2 + 3 _??????_ _??????_ _??????_ _??????_ _??????_ __?_???_

For readability it's actually: ADD ADD ADD ADD ADD OUTPUT

    • More Info

Halt does not need to be used inside the program. When an unknown character is reached the interpreter will add an newline. Unknown characters do not cause errors DEC can produce negative values.

  • / EXTERNAL SOURCES */

Github User:https://github.com/ZViperSw/

Source code(with examples and converter): https://github.com/ZViperSw/esolang-interpreters/tree/main/Q_M