R
rey
v0.3.1
Experimental
Docs
Playground
Standard Library
Learn
Download
Roadmap & Specs
GitHub
Install
REY IDE
v0.3.1
⚠️ Early & Experimental
Ready
Preset:
Hello World & Interpolation
Fibonacci & Loops
Pattern Matching & Enums
Structs & Methods
Closures & Higher-Order Functions
Collections (Vec & HashMap)
Result & Option Error Handling
Trig & Math Algorithms
Reset
Copy
Share
RUN CODE
Ctrl↵
Engine:
WASM Native VM (v0.3.0)
Execution Time:
0.00 ms (idle)
WASM Linear Memory:
64.0 KiB pool
Source: 17 lines • 618 bytes
|
Target: wasm64-wasi
Quick Presets:
Hello World & Interpolation
Fibonacci & Loops
Pattern Matching & Enums
Structs & Methods
Closures & Higher-Order Functions
Collections (Vec & HashMap)
Result & Option Error Handling
Trig & Math Algorithms
main.rey
UTF-8 • Rey v0.3
Tab inserts 4 spaces • Ctrl+Enter to run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Hello World & String Interpolation in Rey v0.3 func createWelcome(name: string, platform: string): string { return "Welcome {name} to the {platform} WebAssembly IDE!"; } var engineer = "Developer"; var toolchain = "Rey v0.3.1 (LLVM/WASM)"; var greeting = createWelcome(engineer, toolchain); println(greeting); println("Type-sound, native-speed language for resilient systems."); var memPoolKiB = 1024; var wasmPages = memPoolKiB / 64; println("Runtime config: {memPoolKiB} KiB pool mapped across {wasmPages} WASM pages."); println("Template escape check: {{expression_interpolation}} parsed successfully.");
STDOUT TERMINAL
$
rey --version
Rey v0.3.1 (WASM64 WASI Engine)
Native LLVM-backed type-sound execution environment.
Quick Start Instructions:
Select a preset from the top bar to explore Rey syntax.
Press
Ctrl+Enter
or click
RUN CODE
.
Zero server roundtrips — executes directly in browser WebAssembly.