Blyx Nest Blyx language
Registry / Framework
framework · v0.1.0

Wren

Run named checks and skips, compare floating-point measurements, and report a TAP 13 stream and a process exit status for CI.

Source repository · Package JSON

Use Wren

use vendor::wren::wren;

Run the example

nest demo wren@0.1.0
blyxc native-run wren-demo/main.blyx
Example source and expected output
use vendor::wren::wren;

fn main() {
    let first = wr_record(wr_start(), wr_near(0.1 + 0.2, 0.3, 0.000001, 0.0), false);
    let second = wr_record(first, false, true);
    let result = wr_record(second, 2 * 2 == 5, false);
    println!(at(result, 0));
    println!(at(result, 1));
    println!(at(result, 2));
    println!(wr_exit(result));
}

Expected output

3
1
1
1

Published versions

VersionPackageSource commitSHA-256
0.1.0Download ZIP54face06180ffe4dcc338a07d0c9eb9f8a5d8c44468887952e6d2037647f15c53c87d668b6