Reference

The language, section by section.

This is the Voxlang specification as it stands in the compiler's own repository. The site reads LANGUAGE.md at build time and splits it into one page per section, so there is no second copy to fall out of date.

Search is also a JSON endpoint: /docs/search?q=<words> returns ranked results as JSON, no page load.

Generated from LANGUAGE.md at bf2cba0, 2026-08-22.

Contents

  1. Basics
  2. Types
  3. Variables
  4. Names and strings
  5. Functions
  6. Things
  7. Expressions
  8. Control Flow
  9. Lists and Collections
  10. Input/Output
  11. File I/O
  12. Directories, Mounting, and Process Control
  13. Time and Timers
  14. Command-Line Arguments
  15. Environment Variables
  16. Operators
  17. Keywords
  18. Examples
  19. Libraries and Imports
  20. Compiler Usage
  21. Grammar Summary

The whole reference, on one page.

How the URLs work

A URL is the heading, lowercased, with punctuation dropped and spaces turned into hyphens.

Each "##" section of the spec is a page under /docs/, and every heading inside it is a fragment on that page, so "File I/O" is /docs/file-io/ and "Reading a whole file" inside it is /docs/file-io/#reading-a-whole-file.

The same thing, as JSON

Written at build time from the same parse the pages come from. The search box above reads them, and so can anything you write.

/docs/search.json
one entry per heading: title, section, first sentence, keywords
/docs/index.json
every section and every heading in it, with URLs
/docs/anchors.json
the slug map: every address this reference can be linked at