Encircle

From Esolang
Jump to navigation Jump to search

Intro

Encircle is an esolang created on June 23rd 2025 and uses only Brackets

Commands

¿x? Boolean var x
¿x|y? If x is positive goto marker y
¡x! Negate or flip variable x
¡x|y! Subtract y from x
‘x’ Stack var x
‘x|y’ Add y to x
“x” String literal x
“x|y” Set x to y
«x» String var x
«x|y» Input into var x if y is positive and output var x if not
(x) Integer var x
(x|y) Add y to x
{x} Frac var x
{x|y} Var x=exp(x) or 1 or sort(x) and var y=ln(y) or 0 or -sort(y)
[x] Marker x
[x|y] Int literal
\x/ Treat x as a non command

Programs

Cat program

0««[1|0]»|[1|0]»««[1|0]»|¡[1|0]!»¿«[1|0]»|[1|0]?

truth-machine

0«¿[1|0]?|[1|0]»«¿[1|0]?|¡[1|0]!»¿¿[1|0]?|[1|0]?

Hello, world!

«“Hello, world!”|[0|0]»