# Var=Bar

Var=Bar is an esoteric programming language by User:A, and is made up entirely of variables. Each line is just a case-sensitive variable name, followed by `=`, and then the variable's case-sensitive value.

The variable names can be anything including special names, and the values can be anything as well, and can also be special values:

 `1N` prints the variable's value. `0UT` inputs a value for the variable to take. Be careful: that `0` is zero. `+(add)-(subtract)` do math. For example: ``` x=4 J=x - 2 ``` sets `x` as value `4` and `J` as value `2` (4-2). Also: ``` f=n p=o s=f + p ``` sets `f` as value `n`(Any value without 0-9 is a string), `p` as value `o`, and `s` as value `no` (word math only works with `+`). `x=condition` starts a `while` loop named `x` with the given `condition`. `x=STOP` signifies the end of `while` loop called `x`.

Conditions have three parts, two compared values referenced by their names and a comparison. They only use 3 instructions, which can be:

 `>` is greater than `<` is less than `==` equal to

## Example

```v=1N
v=0UT
x=v==1
v=0UT
x=STOP
```

### Cat Program

Below follows the implementation of an infinitely repeating cat program:

```infiniteLoop = 1 == 1
input = 1N
input = 0UT
infiniteLoop = STOP
```

## Interpreter

• Common Lisp implementation of the Var=Bar programming language.