Aquas

From Esolang
Jump to navigation Jump to search

Aquas is an Esoteric programming language created by User:Buckets in 2021.

Commands Instructions
Input Gets an input and Sets it to the Current Variable.
{}OP#m If the Input is The option equalling to The Curly braces with the Identification Of m.
"" Print What is Inside of the Quotes.
; Print What is Inside of the current variable.
#n--> Noop.
-->#o Go to the Command #n--> with the Same identification Number.
MUSIC[] Import Music or Sound.
VIDEO[] Import A video.
/Play [] Plays the Video/Music.
GETVAR() Get A varianle with the name Given by The Brackets.
Changeby {} Change the current variable's number By Either An Operation with another Number, If It will change By another variable, Denote it as `variablename`.
RAND(p-q) Set the current variable to A random Number between p And q, Not including p nor q.
If []#r If the Condition is Met inside of the Square brackets, Go to the same Identification of #s-TRUE, else Go to the same Identity With #t-FALSE.
#s-TRUE Noop.
#t-FALSE Noop.

Cat program:

GETVAR(i)Input;

"Hello, World!" Program:

"Hello, World!"

Truth-machine Program:

GETVAR(i)Input#0-->-->#0#1-->{1}OP#1;-->#1{0}OP#0;

FizzBuzz Program:

GETVAR(n)#0-->Changeby {+1}If [`n`%15=0]#1#1-NO
If [`n`%3=0]#2#2-NOIf [`n`%5=0]#3#3-NO;
-->#0#1-YES"FizzBuzz"-->#0#2-YES"Fizz"-->#0
#3-YES"Buzz"-->#0

A+B Problem:

GETVAR(A)InputGETVAR(B)InputChangeby {+`A`};