Geometry

From Esolang
Jump to navigation Jump to search

Geometry is an Esoteric programming language created by User:Buckets in 2022.

Commands Instructions
m Set the Point m.
<n|o> Change Coordinates by n Units horizontally & o units vertically.
Ap Name the area of the Current shape Inside Of It.
() This is for Annotation, It prints what Is inside of the Parentheses.
qrr Draw the arc starting From r with the Centre q, clockwise.
st Draw the arc starting From s with the Centre t, Anti-clockwise.
|uv Draw a Line to point u To Point v.
θw Name the Angle.
yxz Specify Which angle formed by the Three Points, x to y To z.
o[] Output.
i{} Input.
* Non-specific number.
#a Set to a Variable.
bc| The length from Point a To Point b.

Cat programs:

a<1|0>●b<*|*>●ci{θi,bac}o[θi]
ai{#a}<#a|0>●bo[ab|]
a<0|1>●bi{#a}<#a|0>●c<0|-1>●d<-#a/2|0.5>Aao[Aa]


"Hello, World!" Program:

(Hello, World!)

A+B Problem:

ai{#a}<#a|0>i{#b}<#b|0>●bo[ab|]