vipsi - the friendly vip script interpreter

Operators

Vipsi command syntax: Operators
Operators
Glossary: Operator
Operators
are typically special characters Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
tupels, sometimes even triples of Flow control: if … then
Flow control: try … then
them
. List functions: thisThis is because our ancestors liked to omit separating spaces Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
so Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
had to be self-separating from their Vipsi command syntax: Arguments
Glossary: Arguments
arguments
. Instructions: sortSort of.

Most Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
are diadic, which means, they need two Glossary: Operator
Glossary: Operand
operands
, one Glossary: Operator
Glossary: Operand
operand
written to Flow control: if … then
Flow control: try … then
the
left Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
one to Flow control: if … then
Flow control: try … then
the
right sides. Some are monadic, requiring only one Glossary: Operator
Glossary: Operand
operand
, Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
to make it more difficult, they may stand before (prefix) Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
behind (postfix) their Glossary: Operator
Glossary: Operand
operand
.

As a real od man out there is also a Operators: Select "? :"triadic operator. Guess which. ;-)

Some examples:

a * 2 + 47          // Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
: * + i++ + ++a // ++ + ++ 47*100 + 11 // * + a[1] + a[2] + a[3] // + + f = a>0 // = >

Valid HTML   Valid CSS