S*n

From Esolang
Jump to navigation Jump to search
The title of this article is not correct because of technical limitations. The correct title is actually S*n.

S*n is an Esoteric programming language created by User:Buckets in 2022.

Commands Instructions
This is where the Code starts at.
Page Go to that page.
Page Go to that page and Print it, Effectively Ending the program after Everything Printed.
#Page Which Page Comes out of, If not listed, It will start at the top right of the code.
<Page> "Text" Will set the Page to "Text" Inputted.
{Condition}(Code) If the Conditions are met, For example; If {Page = "Text"} is True then Execute The code (Page).
<Page> This will Set the Page as an Input.
Page1} This will Set the Page as Any Two other Pages Concatenated.
<Page>[m?n] This Command will Set the Page to the Answer of The two Numbers With Any Operation (Excluding v, Go see (( for the Extra Information, %, =>, =<, etc.)

"Hello, World!" Program:

|<S*n/HWP> "Hello, World!" S*n/HWP  

Cat program:

|<S*n/Cat>_S*n/Cat  

Quine Program:

|S*n/Quine  

A+B Problem:

|<S*n/A><S*n/B><S*n/Ans>[[[S*n/A]]+S*n/B]  
S*n/Ans  

Calculator Program:

|<S*n/i1><S*n/i2><S*n/o>_  
{S*n/o="x"}(<S*n/o>[[[S*n/i1]]*S*n/i2]  
S*n/o){S*n/o="/"}  
(<S*n/o>[[[S*n/i1]]/S*n/i2]  
S*n/o){S*n/o="+"}  
(<S*n/o>[[[S*n/i1]]+S*n/i2]  
S*n/o){S*n/o="-"}  
(<S*n/o>[[[S*n/i1]]-S*n/i2]  
S*n/o)  

Infinite Loop:

|S*n/Il  

Factorial Program:

|<S*n/FP0><S*n/FP1>S*n/U=0

Duplication Program:

|<S*n/Dupe><S*n/Dup#>S*n/Dup2