Arkoi Language Guide¶
Arkoi is a systems language with a compact syntax, explicit typing, and a compiler-oriented workflow. This site is organized as a practical guide: start with the basics, then move into the language rules, examples, and CLI usage.
Read this first¶
- Installation
- Overview
- Grammar
- Language rules
- Syntax reference
- Functions
- Types
- Control flow
- Examples
- CLI usage
What Arkoi is¶
Arkoi centers on:
- Explicit function definitions
- Typed variables and typed parameters
- Primitive arithmetic and boolean expressions
- Structured control flow with
if,else,while, andreturn - A direct compile-to-native toolchain
What this guide covers¶
- How to build and run the compiler
- The grammar and language rules
- The current language shape and syntax rules
- The main type forms and expression rules
- The existing control-flow constructs
- Working examples that match the repository’s programs and tests
Scope¶
This guide documents the language. Features that are not part of the language are called out as future work instead of being described as supported behavior.