LogoXCX 2.2
EcosystemNewsDocumentationGitHub
XCX Logo

XCX 2.2

Statically typed, high-performance scripting language for backend automation.

Resources

  • Documentation
  • Latest News
  • Get Started
  • Install XCX
  • Archive

Ecosystem

  • VS Code Extension
  • PAX Manager
  • Math Library

Connect

  • YouTube
  • TikTok
  • GitHub Issues
  • Email Support

© 2026 XCX Language Team. Wszelkie prawa zastrzeżone.

Privacy PolicyTerms of Use

Documentation

Download Full Docs (.zip)

language

  • Syntax
  • Variables
  • Types
  • Operators
  • Control Flow
  • Functions Fibers
  • Collections
  • Json Http
  • Dates
  • Io Terminal
  • String Methods
  • Errors Halt
  • Library Modules

compiler

  • Architecture
  • Lexer
  • Parser
  • Semantics
  • Vm

pax

  • Pax Manual

Pax Manual

PAX Package Manager Manual

PAX is the official package manager for XCX, integrated directly into the xcx binary. It manages dependencies, project scaffolding, and build automation.

Project Configuration: project.pax

Every PAX project must have a project.pax file in its root directory. It uses a custom declarative format.

---
PAX Project Configuration
*---
/
    name :: "my_project",
    deps :: [
        "user/repo",
        "https://example.com/lib.xcx"
    ]
/
  • name: Logical name of the project.
  • deps: List of dependencies. Supports GitHub shortcuts (user/repo) and direct URLs.

Command Reference

PAX is invoked via xcx pax <command>.

Command Description
xcx pax new <name> Generates a new project structure.
xcx pax install Fetches dependencies into the lib/ directory.
xcx pax add <dep> Adds a dependency and installs it immediately.
xcx pax remove <name> Removes a dependency from project.pax.
xcx pax search <query> Searches the registry for available packages.
xcx pax run [path] Executes the project (entry: src/main.xcx).

Directory Structure

A standard PAX project follows this layout:

  • project.pax: Configuration.
  • src/: Source code (main entry: main.xcx).
  • lib/: Downloaded dependencies (managed by PAX).
  • tests/: Project-specific tests.