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

Barnowl

Inspect a supplied audit export for sequence gaps, replays and clock reversals.

Source repository · Package JSON

Use Barnowl

use vendor::barnowl::barnowl;

Run the example

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

fn main() {
    let ids = [40, 42, 42];
    let times = [10, 14, 12];
    let result = barnowl_audit(ids, times);
    if len(result) == 0 { println!("invalid"); return; }
    let mut i = 0;
    while i < len(result) {
        println!(at(result, i));
        i += 1;
    }
}

Expected output

1
1
1
2
0

Published versions

VersionPackageSource commitSHA-256
0.1.0Download ZIPed12bda58e1e504c2b8ecada65ad0b55959e9e8ef421e34d84f26b25697d40ac9094ccee41