vipsi - the friendly vip script interpreter

Instructions

Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
Instructions
are List functions: words
Shell Immediate Commands: words
words
which Flow control: do … loopdo Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
Flow control: returnreturn a result Glossary: Valuevalue. Since they don't Flow control: do … loopdo so, they can't be used as Vipsi command syntax: Arguments
Glossary: Arguments
arguments
to other Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instructions
, Vipsi command syntax: Functions
Functions
Glossary: Function
functions
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Vipsi command syntax: Procedures
Data Types: Procedures
Glossary: Procedure
procedures
. Any program is a sequence of Vipsi command syntax: Statements
Glossary: Statement
statements
which typically start with an Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
(except most notably Operators: Assignment "="
Built-in operators: Assignments:
assignments
), executed one after Flow control: if … then
Flow control: try … then
the
other, each doing some kind of magic. Hopefully.

Vipsi command syntax: Arguments
Glossary: Arguments
Arguments
to Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instructions
are appended immediately. Multiple Vipsi command syntax: Arguments
Glossary: Arguments
arguments
, Flow control: if … thenif possible, are separated with Separators: Comma ","commas. Many Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instructions
, e.g. Flow control: if … then
Flow control: try … then
the
most commonly used Instructions: putput accept any amount of Vipsi command syntax: Arguments
Glossary: Arguments
arguments
, all separated by Separators: Comma ","commas. They just work repeatedly on one after Flow control: if … then
Flow control: try … then
the
other.

In most cases there is no need to mark Flow control: if … then
Flow control: try … then
the
Flow control: end
Shell Immediate Commands: exit, quit, end
end
of an Vipsi command syntax: Arguments
Glossary: Arguments
argument
Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
with a special character, though you may be accustomed to use a Separators: Semicolon ";"semicolon ";" for List functions: thisthis purpose. Flow control: if … then
Flow control: try … then
The
use of Flow control: if … then
Flow control: try … then
the
Separators: Semicolon ";"semicolon ";" is optional in most cases.

Examples:

Flow control: if … thenif a>2 Instructions: putput "a>2",Constants: nlnl Flow control: if … then
Flow control: try … then
else
Flow control: returnreturn(a+=1) Flow control: if … then
Flow control: try … then
then

In Flow control: if … then
Flow control: try … then
the
above example, bold List functions: words
Shell Immediate Commands: words
words
are Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instructions
, Flow control: if … then
Flow control: try … then
the
Operators: Remainder with Variable "%="
Operators: Remainder "%"
remainder
are Vipsi command syntax: Arguments
Glossary: Arguments
arguments
to Flow control: if … then
Flow control: try … then
them
. For better clarity here again with one Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
per line:

Flow control: if … thenif a>2
    Instructions: putput "a>2", Constants: nlnl
Flow control: if … then
Flow control: try … then
else
Flow control: returnreturn(a+=1) Flow control: if … then
Flow control: try … then
then

Valid HTML   Valid CSS