/psh

Primary LanguageRustBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

psh

Types

psh is not fancy with the types. The built-in types aim to give enough to get most simple things done.

Number

Good ol' numbers.

Integers are numbers, Decimals are numbers, Fractions are numbers.

You can do maths on numbers.

String

"hello there"

Pretty straight forward, strings are strings.

Array

Arrays (or lists) are one type of indexed collection, where the indexes are integers.

Indexes start at 0.

[1, 2, 3, 4, 5]

Map