Language abbreviation:
Basics
Console I/O
single line
multi line
Comments
single line
multi line
Variables
Types
number
string
bool
Type Conversions:
Operators
| Operation |
Syntax |
| addition |
|
| subtraction |
|
| multiplication |
|
| division |
|
| modulus |
|
| increment |
|
| decrement |
|
Comparison
| Operation |
Syntax |
| equal |
|
| not equal |
|
| greater than |
|
| less than |
|
| greater than or equal to |
|
| less than or equal to |
|
Logical
| Operation |
Syntax |
| and |
|
| or |
|
| not |
|
Conditionals
if, else if, else statement
single line if
switch statement
Loops:
for
for in
while
do while
- : exit a loop.
- : skip to next iteration in loop.
Functions
regular
lambda
Classes
class declaration
include public field, private field, constructor, method, getter, setter, static method
inheritance
include super and method overriding
instantiation
Advanced
Arrays/Lists
list
hash map
| Function |
Syntax |
| search |
|
| push, pop |
|
| insert |
|
| concatenate |
|
| subarray |
|
| sort |
|
| loop |
|
| map |
|
Strings
| Function |
Syntax |
| search |
|
| insert |
|
| replace |
|
| concatenate |
|
| substring |
|
Math
pi
e
| Function |
Syntax |
| square root |
|
| exponentiation |
|
| random number |
|
| absolute value |
|
| round |
|
| ceiling |
|
| floor |
|
| max |
|
| min |
|
| sine |
|
| cosine |
|
| tangent |
|
| arcsine |
|
| arccosine |
|
| arctangent |
|
Dates
Files
Bitwise Operations
| Operation |
Syntax |
| AND |
|
| OR |
|
| XOR |
|
| NOT |
|
| Left Shift |
|
| Right Shift |
|
| Zero fill right shift |
|
Errors
try, catch, finally
throw error
Extra