YPIMOOMFWAMOOMLWAMOOMNWAMOOMCWAMOOMFWAMOOMSWAMOOMTWAMOOMCWAMOOMB

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

YPIMOOMFWAMOOMLWAMOOMNWAMOOMCWAMOOMFWAMOOMSWAMOOMTWAMOOMCWAMOOMB which stands for Your program is made out of many files which are made out of many libraries which are made out of many namespaces which are made out of many classes which are made out of many functions which are made out of many statments which are made out of many tokens which are made out of many charaters which are made out of many bits is an esolang created by User:Martsadas which is designed to be very annoying to write because you will need to put your code in a function that you have to put into a class that you have to put into a namespace that you have to put into a library that you have to put into a file with no other way

Naming conventions (documentation)

[]: You can replace it with any valid name/value
{}: Anything inside this is optional
(): Anything inside this is required
<a|b|c>: You can only put a, b or c

Structure

  • Block statements start with [ and end with ]
  • You can use modifiers by using ~[modifier name]
  • Every line ends with a :

Outside of libraries

{modifiers} LIBRARY [library name] | Makes a new library
USE [library name] | Uses a library
CONSTANT [constant name] = [constant value] | Makes a constant

Inside libraries

{modifiers} NAMESPACE [namespace name] | Makes a new namespace

Inside namespaces

{modifiers} CLASS [class name] {[inheritance]} | Makes a new class

Inside classes

VARIABLE [variable type] [variable name] {= [variable value]} | Makes a new variable
{modifiers} FUNCTION [function name] | Makes a new function

Inside functions

Variables

VARIABLE [variable type] [variable name] {= [variable value]} | Makes a new variable
[variable name] = [variable value] | Sets the variable [variable name] to [variable value]
[variable name] ++ | Increments the variable [variable name]
[variable name] -- | Decrements the variable [variable name]Example
[variable name] += [value] | Sets the variable [variable name] to [variable name] + [value]
[variable name] -= | Sets the variable [variable name] to [variable name] - [value]
[variable name] /= | Sets the variable [variable name] to [variable name] / [value]
[variable name] *= | Sets the variable [variable name] to [variable name] * [value]
[variable name] %= | Sets the variable [variable name] to [variable name] % [value]

Flow control

IF ([condition]) | Runs the next block statement if the previous statement is not run and [condition] is true
ELSEIF ([condition]) | Runs the next block statement if the previous statement is not run and [condition] is true
ELSE | Runs the next block statement if the previous statement is not run

Loops

WHILE ([condition]) | Runs the next block statement while [condition] is true
LOOP ([number]) {WITH [variable name]} | Example

Standard library

Console

Input

Number | Example
Character | Example
Float | Example
String | Example
Boolean | Example

Output

Number | Example
Character | Example
Float | Example
String | Example
Boolean | Example

Variable types

INTEGER | A whole number that can be negative or positive
FLOAT | A floating-point number that can be negative or positive
STRING | A string of characters
CHARACTER | A character
BOOLEAN | A boolean that can be true or false
([class name]) | A class that can hold multiple values

Modifiers

Classes

~ALLOW_INSTANCES | Will allow to make objects of the class ~INHERITABLE | Allows the class to be inherited