NB

NB is an esolang invented by User:None1, that uses only 2 non-whitespace characters: N and B.
It is case-insensitive.
==Syntax==
===Number constant===
NB uses unary for number constants, but instead of zeros or ones, NB is used:
 NBNBNBNBNB
represents 5
===Output===
 N <value>
ASCII character output.
 NBN <value>
Integer output.
===Variable===
Variables must have only N's and B's, too.
Variables must start with NN:
 NNNBNBN
and
 NN
are valid, but:
 BBNBBN
is not.
===Input===
 B <variable>
ASCII input.
 BNB <variable>
Integer input.
===Loops===
NB has only one kind of loop: while loop, its syntax is like this:
 BB <value>
 <cod>
 BN
===Conditionals===
NB has conditionals, too:
 NBB <value>
 <cod>
 BNB
If value is nonzero, execute cod.
 NBB <value>
 <code1>
 BNN
 <code2>
 BBB
If value is nonzero, execute code1, otherwise code2.
===Arithmetic===
 <variable> BBBB <value>
Addition, adds value to variable
 <variable> BBBBB <value>
Subtraction
 <variable> BBBBBB <value>
Multiplication
==Examples==
===Hello, World!===
N NBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNB
N NBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNB
N NBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNBNB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