# Eskiu > Eskiu is a self-hosting systems language on LLVM, with explicit memory and direct C interop: C's model of memory and calls, plus `Result` and `?`, `defer`, sum types with exhaustive `match`, checked nullable pointers (`?*T`), generics and compiled `async`/`await`, with no runtime. One compiler (`eskiuc`, current version 0.17.0) builds for macOS, Linux, Windows, WebAssembly, iOS, Android, visionOS, 32-bit ARM and bare metal; files run as scripts with `eskiuc run`. Packages add GPU, 3D, AR and machine learning, and the `ui` framework builds native apps for phones, the web and the desktop, with `ui agent` to let a coding agent drive and test them. Install with `curl -fsSL https://eskiu-lang.org/install.sh | sh -s -- --with-ui` (the compiler and the ui tool), then run `eskiuc doctor` to see what each kind of build needs. Syntax is close to C: structs with methods called with dot syntax (`String_append(&s, x)` is `s.append(x)`), `let` with type annotations, generics, sum types with exhaustive `match`, `defer`, `?` to propagate errors, and `import ;` for the standard library. Memory is manual (`alloc(n)` returns zeroed memory, `free(p)`). `fn`, `in` and `match` are keywords. MCP server: `https://mcp.eskiu-lang.org/mcp` (remote, no key). It searches the compiler, the standard library and the docs, and runs code: `eskiu_run` compiles and runs a program, `eskiu_ui_render` builds a ui app for the web, applies `ui agent` operations and returns a screenshot, `eskiu_ui_test` runs a `.uitest` file. Each takes `main.esk` as `code` and the files it imports as `files`. A ui app made by hand: the package name in `eskiu.toml` uses letters, digits and `_` only, `main.esk` defines `ui_app_start` and `ui_app_stop` (no `main`), and it runs with `eskiuc fetch` then `ui run web` (not `eskiuc build`); `ui new NAME` writes all of it. ## Start here - [Eskiu for agents](https://eskiu-lang.org/agents.html): install, build, run, drive an app with `ui agent` and test it with `ui test`, with JSON answers - [Quickstart](https://eskiu-lang.org/quickstart.html): install and a first program - [The Book of Eskiu](https://eskiu-lang.org/the-book-of-eskiu.html): the whole language, chapter by chapter - [Getting started guide](https://eskiu-lang.org/docs/getting-started.html): the language and the standard library by example ## Reference - [Language specification](https://eskiu-lang.org/docs/spec.html): every construct and its rules - [Patterns and pitfalls](https://eskiu-lang.org/docs/patterns.html): captures, pointer lifetimes, ownership, copies, initialization and the C boundary, with the compiler's message for each common mistake - [Grammar](https://eskiu-lang.org/docs/grammar.html) - [Build and tooling](https://eskiu-lang.org/docs/build.html): `eskiuc` flags, `--dev`, `--time`, the object cache, exit codes, packages (`eskiu.toml`, `eskiuc add`, `eskiuc test` with `-j`, filters and `--json`), cross-compilation - [C interop and ABIs](https://eskiu-lang.org/docs/abi.html): `extern`, structs by value, `export` and `--emit-header` - [Stability policy](https://eskiu-lang.org/docs/stability.html) - [Diagnostic ids](https://github.com/eskiu-lang/eskiu/blob/main/docs/dev/diagnostic-ids.txt): the stable ids of `--diagnostics=json` - [Changelog](https://eskiu-lang.org/changelog.html) ## Apps with ui - [ui overview](https://eskiu-lang.org/ui.html) - [Components and APIs](https://eskiu-lang.org/ui-components.html) - [Getting started with ui](https://github.com/eskiu-packages/ui/blob/main/docs/getting-started.md) - [ui agent](https://github.com/eskiu-packages/ui/blob/main/docs/agents.md): every operation (tree, layout, screenshot, tap, type, scroll, back, clock, state, logs, perf) and its JSON answer - [ui test](https://github.com/eskiu-packages/ui/blob/main/docs/testing.md): `.uitest` steps and expectations - [App structure](https://github.com/eskiu-packages/ui/blob/main/docs/app-structure.md): how to lay out a ui app that grows (model, services, components, screens, words, tests) and what may use what; follow it when creating an app - [Design guide](https://github.com/eskiu-packages/ui/blob/main/docs/design.md): color roles, type, spacing, 44-point targets, loading, empty and error states, forms, motion, accessibility and dark mode; follow it for every screen - [Product guide](https://github.com/eskiu-packages/ui/blob/main/docs/product.md): the job and the main action before the screens, the first minute, the app's words, permissions and notifications in context, trust and privacy, measuring, retention without tricks, the store listing and the web; follow it when building an app with someone - [ui-starter](https://github.com/eskiu-packages/ui-starter): a whole app laid out this way, to start from - [ui web apps](https://github.com/eskiu-packages/ui/blob/main/docs/webapp.md): an Eskiu program as the backend of a web front end in the desktop webview, with `@eskiu/webapp` ## Packages - [Package index](https://github.com/eskiu-lang/index): every published package, from anyone; a package is added to the index with a pull request that adds `packages/NAME.toml` (see [publishing](https://eskiu-lang.org/docs/build.html#publishing-a-package)) - [Package catalog](https://eskiu-lang.org/packages.html): gpu, scene, ar, video, camera, onnx, tflite, audio, font, yaml, jni, quickjs and more, each with its API reference - [gpu](https://github.com/eskiu-packages/gpu): WebGPU compute and rendering, glTF models, image-based lighting, YUV frames - [scene](https://github.com/eskiu-packages/scene): a scene graph and material renderer on gpu, with input, physics, animation, particles and headset rendering (Meta Quest, Apple Vision Pro) - [ar](https://github.com/eskiu-packages/ar): ARKit, ARCore and WebXR sessions: planes, images, depth, meshes, faces, bodies, cloud and Earth anchors - [arscene](https://github.com/eskiu-packages/arscene): an ar session drawn with scene, as ViroReact's AR navigator: the camera behind the scene, occlusion by the real world, tap to place, image markers and the world mesh - [quickjs](https://github.com/eskiu-packages/quickjs): JavaScript inside Eskiu programs, over QuickJS (ES modules, host functions, limits) ## Optional - [Platforms](https://eskiu-lang.org/platforms.html): WebAssembly, iOS, visionOS, Android and bare metal - [Showcase](https://eskiu-lang.org/showcase.html): what runs on Eskiu today - [Source](https://github.com/eskiu-lang/eskiu): the compiler (C++ and Eskiu), the standard library and the examples