Kiwi 🥝¶
Kiwi is a modern, lightweight scripting language built for expressiveness and utility.
Getting Started¶
Language Reference¶
Functions¶
Control Flow¶
- Control Structures —
if,case,when, ternary, truthiness - Loops —
for,while,repeat,break,next - Generators
- Error Handling
Collections & Data Types¶
Object-Oriented Programming¶
Modules & I/O¶
Standard Library¶
collections— Specialized collection types, includingHeapandSet.compress— Functions for compression and decompression.console— An interface that wraps core I/O operations.crypto— Cryptographic functions like MD5 and SHA-2.csv— Functions for parsing CSV data.env— For interacting with environment variables.fio— Functions for file system operations.http— Functions for HTTP/HTTPS requests.iter— An explicit iterator pattern for safely traversing lists.math— Common mathematical functions and utilities.path— Contains the definition for thePathstruct.reflector— Reflection tools, includingCallable.socket/tls— Low-level asynchronous TCP and TLS networking.stdin— Functions for reading from standard input.string— String manipulation and transformation utilities.sys— For executing shell commands.task— Asynchronous task management, includingChannel.tester— A simple unit testing framework.time— Time and date utilities.