https://github.com/tchupp/psh
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tchupp/psh
- Owner: tchupp
- License: bsd-3-clause
- Created: 2023-08-30T23:43:22.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T18:31:28.000Z (over 2 years ago)
- Last Synced: 2024-04-16T04:18:10.002Z (about 2 years ago)
- Language: Rust
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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