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

Syntax

XCX 2.2 Syntax Basics

Comments

--- Single-line comment
i: price = 100;  --- inline comment

---
Multi-line
comment block.
*---

Identifiers

Identifiers are case-sensitive and must match the pattern [a-zA-Z][a-zA-Z0-9_]*.

Valid Invalid Reason
userData 1stUser Cannot start with a digit
user_data user-data Hyphen is a minus operator
counter1 user name Spaces are not allowed

Keywords (if, func, fiber, i, f, s, b, etc.) are reserved.

Instruction Terminals

Statements terminate with a semicolon ;. This applies to variable declarations, function calls, assignments, and directives.

i: x = 10;
>! "Hello";

Blocks

Blocks are opened by a keyword (e.g., then, do, {) and closed by end;.

if (x > 0) then;
    >! "Positive";
end;