Docs
Start here for a guided overview, then dive into the full reference.
Getting Started
- What is RexxJS? A modern REXX targeting Node.js, browsers, and a standalone binary, with rich built‑in libraries.
- Try it in your browser: Online REPL
- Browse the full Reference
Key Topics
- Language Basics — Basic Syntax, Control Flow, Advanced Statements
- Everyday Functions — Strings, Math, Arrays, Date/Time
- Data & Web — JSON, Web, Filesystem, SQLite Address
- Reliability — Error Handling, Assertions & Expect, Testing with rexxt
- Orchestration — Application Addressing, ADDRESS Patterns, Require System
Examples
Hello world with arrays and mapping:
LET nums = [1,2,3,4]
LET doubled = MAP(nums, "x * 2")
SAY doubled
Fetch JSON and validate a field:
LET data = JSON_PARSE(URL_READ("https://api.example.com/todo/1"))
IF IS_OBJECT(data) & data.id = 1 THEN SAY "ok"
Next Steps
- Explore the Function Reference
- Learn the REPL
- See Interpolation Patterns