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.
Atle
Jump to navigation
Jump to search
Atle is an experimental esoteric programming language designed to be simple but flexible. It supports basic arithmetic, input/output, and control commands. The language uses lines starting with @ to indicate commands. Execution must be started with @execute: True.
Why his programming language cannot be practical?
bcs it hasn't fully description and cannot work with any useful. Think about it. It doesn't even have packages. And I did it as a joke.
Commands in alphabetical order
| Command | Description |
|---|---|
@add var1,var2,var3 |
Adds var1 and var2, stores result in var3 |
@div var1,var2,var3 |
Divides var1 by var2, stores result in var3 |
@else |
Executes the next command if previous @if condition was false |
@execute: True |
Starts the execution of the program |
@halt: False |
Does nothing, program continues |
@halt: True |
Stops program execution |
@input |
Takes input from user without saving |
@input: |
Takes input with prompt but does not save |
@print: |
Prints values with newline |
@print nolf: |
Prints values without newline |
@mul var1,var2,var3 |
Multiplies var1 and var2, stores result in var3 |
@sub var1,var2,var3 |
Subtracts var2 from var1, stores result in var3 |
@sleep seconds |
Pauses execution for a number of seconds |
@var name=value |
Stores a value in a variable. Can use @input: as value
|
@Paste ur code here |
Placeholder to remind to paste code |
@if var==value |
Executes next line only if the variable equals the value |
Examples
Hello, World!
@execute: True @print: "Hello, world!" @halt: True
Echo Input
@execute: True @var user_input=@input @print: user_input @halt: True
XKCD Random Number
@execute: True @var randomnumber=4 @print: randomnumber @halt: True
Simple Arithmetic
@execute: True @var a=10 @var b=5 @add a,b,sum @sub a,b,difference @mul a,b,product @div a,b,quotient @print: "Sum:", sum @print: "Difference:", difference @print: "Product:", product @print: "Quotient:", quotient @halt: True
Conditional Example
@execute: True @var x=5 @if x==5 @print: "x is five" @else @print: "x is not five" @halt: True