At some land

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

At some land(ATSML not be confused with A Tiny Self-Modifying language) is a fungeoid by User:ChuckEsoteric08.

Description

It has 1 stack and 1 accumulator as memory and 31 commmands. When IP goes out of bounds halt

Commands

Commands Operations
><v^ same as in other 2-dimensional languages.
/\ Mirrors
0123456789 Push that digit to the stack
+-*! pop two numbers, a and b, push b<op>a(! is a division)
id increment and decrement accumulator.
:% duplicate top element and swap top two elements
;, Commands that skip next command if zero. First is for stack and second for accumulator
'` move element from the top to bottom and from bottom to top
? ask for input and push its ASCII character to the stack
. output top of the stack as ASCII character
@ stops the program

Examples

Hello, world!

The following program prints the message “Hello, World!” to the standard output:

>09+9+9+9+9+9+9+9+          .v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+2+  .v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+9+  .v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+9+  .v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+9+3+.v
v                            <
>09+9+9+9+8+                .v
v                            <
>09+9+9+5+                  .v
v                            <
>09+9+9+9+9+9+9+9+9+6+      .v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+9+3+.v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+9+6+.v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+9+  .v
v                            <
>09+9+9+9+9+9+9+9+9+9+9+1+  .v
v                            <
>09+9+9+6+                  .@

Cat program

An infinitely repeating cat program follows:

>?.v
^  <

Truth-machine

This program defines a truth-machine:

?68*-;v68*.@
     >v
      6
      8
      *
      1
      +
      .
     ^<

Interpreter

  • Common Lisp implementation of the At some land programming language. The file contains also a code generator for producing At some land programs which print a specified message to the standard output.