Readability--

From Esolang
Jump to navigation Jump to search

Readability-- is like Readability, but kinda readable (at least you can half decently see your code). It uses characters in Unicode that look very similar but are actually different, like "a" (\x61) and "а" (\x430).

Overview

Memory

Readability-- has a dynamic variable system. You can create variables, assign values, and use those values. Variable names can only be one character, but can be named whatever you want. They can only hold a single float.

Instructions

Anything in italics are not part of the syntax and are just there for clarity. v(name) denotes a variable with name name, #(value) denotes an immediate number.

Memory management

Syntax Description
a (\x61) (name) Defines an variable (name) with a starting value of 0.
а (\x430) v(name) Deletes the variable name.
(\x30AB) v(var) #(value) Sets the value of variable v(name) to #(value).
(\x529B) v(var1) v(var2) Copies the value of v(var1) to v(var2).
maybe add more
not sure

I/O

Syntax Description
(\x53E3) v(var) Prints the value of variable v(var) as a number without anything else.
(\x30ED) v(var) Prints the value of variable v(var) as a single Unicode character without anything else.
(\x5915) v(var)) Requests a number from the user (can have decimals) and stores it in v(var).
(\30BF) v(var) Requests a single character from the user and stores its Unicode value in v(var).