RexxJS Reference Documentation

A comprehensive reference guide to all RexxJS features, organized by category.

Execution Mode Overview

RexxJS supports three distinct execution modes, each designed for different use cases and control architectures:

1. Autonomous Web Mode

Direct browser execution where the RexxJS interpreter runs independently within a single web context. The script controls its own execution flow with no external orchestration. Ideal for interaction with standalone web applications, white-box browser automation, and client-side scripting.

2. Controlled Web Mode

Browser execution using a Director/Worker architecture with two iframes communicating via postMessage. An external director orchestrates execution, providing real-time control (pause/resume/abort), progress monitoring, and distributed workflow coordination. Designed for complex multi-step processes requiring external supervision.

3. Command-line Mode

Execution in Node.js environments (desktop, server, docker-style container or VM) with full file system access but no web/DOM capability. While a programming language attempting to use instead of bash will lead to longer scripts.

Detailed documentation for each mode is provided in the sections below and in dedicated function references.

Core Language Features

๐Ÿ“ Basic Syntax

๐ŸŽฏ Control Flow

๐Ÿ”ง Advanced Statements

Built-in Functions

๐Ÿ“Š String Functions

๐Ÿงฎ Math Functions

๐Ÿ“‹ Array Functions

๐Ÿ—“๏ธ Date/Time Functions

๐Ÿ”— JSON Functions

๐ŸŒ Web Functions

๐ŸŽฏ ID Generation Functions

๐Ÿ’ป System Information Functions

โœ… Validation Functions

๐Ÿ”’ Security Functions

๐Ÿ’พ File System Functions

๐Ÿ“ˆ Excel Functions

Advanced Functions

๐Ÿ“Š R-Language Functions

๐Ÿ”ฌ SciPy Interpolation Functions

๐Ÿ” Regular Expression Functions

Advanced Features

๐Ÿƒ Dynamic Execution

๐Ÿ“ก Application Addressing

๐Ÿ’ฌ Output and Debugging

๐ŸŽฎ DOM Functions

๐Ÿ” DOM Scoped Interpreters

๐ŸšŒ Control Bus

๐Ÿ“ฆ REQUIRE System

โš ๏ธ Error Handling

Specialized ADDRESS Handlers

๐Ÿ”ง ADDRESS System

๐Ÿ—„๏ธ ADDRESS SQLite

๐ŸŽฏ ADDRESS HEREDOC Patterns

๐Ÿ”— ADDRESS Variable Patterns

๐Ÿ› ๏ธ ADDRESS Handler Utilities

Language Extensions

โœจ AS Clause Reference

๐Ÿ“ Assertions and Expectations

๐Ÿ”„ REQUIRE Statement

๐Ÿ’ป REPL Guide

๐Ÿ”ค Interpolation Patterns

๐Ÿ” Function Discovery

Reference Materials

๐Ÿ“š Function Reference

๐Ÿงช Testing with rexxt



Total Functions: 500+ built-in functions across all categories (with dynamic registration support for custom libraries) Language Features: Complete Rexx implementation with modern enhancements Unix Compatibility: 85+ Unix command-line tools for text and file operations Security: Sandboxing, isolation, and cryptographic functions built-in Function Discovery: INFO() and FUNCTIONS() reflection system for runtime exploration Pipeline Operations: FILTER_BY_ATTR, FILTER_BY_CLASS, GET_VALUES, GET_TEXT, GET_ATTRS for DOM data extraction Chainable DOM: All ELEMENT mutations return elements for seamless pipeline composition

๐Ÿ“š Function Libraries