"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)
Also, its used in LittleBigAwoglet 2!
Version 4 makes the commands, variables and functions (FIRE
) case-insensitive.
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. FIRE {variable/"UHH"} {function} [param [param ...]] runs an external function, with optional parameters. The external function always gets passed an object containing all variables. If you dont want to save the returned value anywhere, you can use "UHH" (without quotes) instead of a variable.
[]
is optional, {}
is required.
Reserved variables (keywords): AMAZING
- returns 0, EPICFAIL
- returns 1, HACK
- returns either 0 or 1 (random)
In this interpreter you have access to the following functions (via FIRE
):
alert {text}
prompt {text}
multiply {text}
(quick multiply)divide {text}
(quick divide)