Overview
Kova comes with what most programs need, written for Kova and the same on every system. Nothing is downloaded, and there is no package to choose between three that do almost the same.
Always there
Section titled “Always there”| Page | Holds |
|---|---|
| String | texts: searching, cutting, patterns, conversions, base64, colors |
| Numbers, Bool and Char | Int, Float, BigInt: operators, maths |
| List | ordered lists, blocks, sorting, statistics |
| Map and Set | values by key, values kept once |
| Dates and time | Date, DateTime, Weekday |
| JSON and CSV | reading and writing them into your own structs |
| system, args and the terminal | print, read_line, system.args, system.exit |
| secure and chance | random |
With an import
Section titled “With an import”| Module | Page | Holds |
|---|---|---|
import files | files | reading and writing files and folders |
import system | system | environment variables, running programs |
import web | web, web server | asking sites, answering as a server |
import secure | secure | secure chance, passwords, encryption |
import log | log | dated lines by level |
import threads | threads | threads, channels, shared values |
import paths | paths | cutting and joining file paths |
import url | url | encoding texts for web addresses |
import arguments | arguments | reading the command line |
import toml | toml | reading configuration files |
import xml | xml | reading and writing XML |
import markdown | markdown | reading Markdown as blocks, plain text or HTML |
import compress, import zip | compress and zip | gzip and zip archives |
import net | net | TCP and UDP |
import websocket | websocket | connections that stay open with web pages |
import sqlite | sqlite | a database in one file |
import ui | ui | native windows |
import sound | sound | playing sounds |
import ios | ios | all of UIKit, on an iPhone or iPad |
Every value has
Section titled “Every value has”x.clone, a copy that the program then owns.
print(x) shows any value, fields and all. A text for people, x.to_string or "{x}" inside a
text, exists for numbers, Bool, Char, String, dates, and types that follow Display
(Texts).
Built-in interfaces
Section titled “Built-in interfaces”Equal (=), Comparable (<) and Display ("{…}") are described in
Interfaces and generics.