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

Io Terminal

XCX 2.2 I/O and System Commands

Console Output (>!)

The >! operator prints values to stdout, followed by a newline.

>! "Hello";
>! 42;
>! "Path: " + path;

Escape sequences like \n (newline), \t (tab), and \r (carriage return) are supported.

User Input (>?)

The >? operator reads a line from stdin and attempts to parse it into the target variable.

i: age;
>! "Enter age:";
>? age;

[!WARNING] Dynamic Typing at Input: If the user inputs data that doesn't match the variable's original type (e.g., typing "abc" into an i), the variable's type will change to s at runtime.

Delay (@wait)

Pauses VM execution for a specified number of milliseconds.

@wait 1000; --- Waits for 1 second

@wait is a blocking operation. It does not yield the fiber.

Terminal Commands (.terminal)

Interact directly with the system environment or current process.

Command Description Returns
.terminal !clear Clears the terminal screen. b
.terminal !exit Terminates the VM process immediately. -
.terminal !run s Executes another XCX file in a new process. b
if (.terminal !run "tests.xcx") then;
    >! "Tests passed!";
end;