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.

User:Feuermonster/Burlesque

From Esolang
Jump to navigation Jump to search

upcoming esoteric language

Programs have no I/O capabilities but receive a String (STDIN) and return a String (STDOUT).

The language is loosely based on array processing languages but optimized for golfing and is to be considered a successor of Stlang but more consistent and less feature-bloated.

Too soon to specify more. Things might change.

Examples

Matrices

MatrixPower

Program:

1 4,4 1,2mp

Output:

17 8,8 17,

Program:

1 4,4 1,2mpsh

Output:

17  8
 8 17

Processing STDIN

Program:

ra++

Reads an array in the more common notation of '[1, 2, 3, 4]' and prints out the sum.

Program:

<-

Reverses input.

Program:

',//1[~

Splits input by ',' and prints out the second part

Program:

riln

Reads an integer and returns how many digits the integer has.

*Main> putStr $ runProgram "riln" "1337"
4