Quint

From Esolang
Jump to navigation Jump to search

Hello, I am Quint-Creator, the creator of Quint. who could have guessed

Hello! I am proud to present Quint, my minimal esoteric language. Quint is a simple esolang. Before you choose to play around and experiment, it is best to understand the structure of Quint. Quint consists of a 2D array of cells, 300 by 300 (can easily be increased, so don't worry about size constraints just yet), and a pointer that starts at (0,0). Each cell starts at 0, and goes up to 255, after which it wraps around back to 0. To change a cells value, the pointer must be located at the selected cell, before two main operations can be applied: addition or subtraction. Whenever the prompt to print out the number at a cell is given, all the cells within the column are added up and the total is printed. Quint, although simple, is Turing Complete, which means that with enough time and resources, Quint can compute anything, albiet the actual coding would be a nightmare. Below are shown the keys that are used in Quint, everything else is ignored.

Keys:

  • 1 - Move Pointer Right
  • 2 - Move Pointer Left
  • 3 - Move Pointer Up
  • 4 - Move Pointer Down
  • 5 - Increase Selected Cell Value By One
  • 6 - Decrease Selected Cell Value By One
  • 7 - The Start Of A While Loop, Which Runs unless The Selected Cell Is 0
  • 8 - The End Of A While Loop
  • 9 - Sums All Numbers In The Selected Cell's Column And Displays The Total
  • 0 - Displays The ASCII Character Corresponding With The Selected Cell's Value
  • ? - Gets User Input Of A Positive Integer


Examples of Quint Code:

To display the classic 'Hello World' in Quint, the code is:

5555555555715555555155555555551555555555551555555555551555555555551555155555555515555555555515555555555515555555555515555555555222222222226815515166166151551666151555516672817018

To add two inputed numbers, the code is:

?4?9

To multiply two inputed numbers, the code is:

?1?27617645135284763548328119

Files:

Feel free to download the file and play around with it. This link takes you to my GitHub page, where all the files are.

Disclaimer: Please understand that I am rather new to coding, especially in Python, and so if there are any optimization issues or bugs, please let me know in the discussion.