"The Awoglet How 6 Language" Interpreter

"The Awoglet How 6 Language" is a esoteric programming language (or is it?) created by me. It is, of course, inspired by The Awoglet How 6, and is simply made as an attempt to make a custom programming language. (and i gotta say, that is a pretty good attempt)

While the commands are meant to be all in upper case (except the arguments), the interpreter is case insensitive. That means that awoglet, Awoglet and AwoGlet will be treated the same as AWOGLET. Same goes for variables, which here are also case insensitive.

Syntax

THE
    is a program's beginning.
    No commands (except for DISK) can be used before THE.

AWOGLET {variable}
        creates a variable with no value.
        Will throw an error if you try to make a variable that already exists.

HOW [number/variable/keyword]
    ends the program and returns a number.

DISK (or |) [text]
            is a comment.
            Does not actually require an argument and can be placed before THE.

SEOHLRY {variable} {variable/value/keyword}[+/-]
        sets a variable's value, if it exists.
        Adding + or - lets you add or substract a value in a variable.
        Substraction does not work for text.

WHY {variable/value/keyword}
    outputs a value.

WHEN {value/keyword} {statement: =, >, <, =>, or =<} {value/keyword}
     compares two values with a statement.
     All statements except for = will act differently based on a variable's type.
     If a value is a number, it will get compared like you'd expect. If not, the value's length will be compared instead.
     If the statement if true, the next command will be ran. If not, it will be skipped.

SWING {variable/number}
      jumps to a specific line.

SPACESHIP {variable} (UNIMPLEMENTED)
          prompts the user to enter a value, the sets a variable's value to that value.
          If the user doesnt enter anything, the next command will be skipped.

[] is optional, {} is required.

Reserved variables (keywords): AMAZING - returns 0, EPICFAIL - returns 1, HACK - returns either 0 or 1 (random)

Editor

Output


Back to index, Examples, Version 5, Version 4, Version 2