Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Blyx BarnowlNew to Visual Studio Code? Get it now.
Blyx Barnowl

Blyx Barnowl

Rahul Chaube

|
2 installs
| (0) | Free
Inspect a supplied audit export for sequence gaps, replays and clock reversals.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Blyx Barnowl

Run Barnowl 0.2.0 examples

In a trusted workspace, choose Blyx: Run Installed Framework Example with Blyx Language 1.5.0 or later. Select Barnowl, then the starter or batch example. The general Blyx CLI executes a temporary copy and compares stdout with the shipped expected output. A mismatch identifies the first differing line and column. Language editor

The task snippet Run bundled Barnowl batch example (one task) also runs vendor/barnowl/batch_example.blyx. Compare its terminal output against batch_example.expected.txt in the same directory.

Check Barnowl in VS Code

This editor includes the exact Blyx framework source and its installation checks. Open a trusted desktop workspace with the general Blyx CLI, its native toolchain and a host linker available. The command below uses the general CLI's native-run command. CLI installation

  1. Create an empty .vscode/tasks.json. Choose Snippets: Fill File with Snippet and select Verify Barnowl (workspace tasks). If you have a tasks array already, insert the Verify bundled Barnowl (one task) snippet there.
  2. Choose Tasks: Run Task → Blyx: Verify bundled Barnowl. On success the terminal prints barnowl: installation checks passed. On failure the command reports the failed check and exits with code 1.
  3. To check a project copy, run nest add barnowl@0.2.0 and choose the installed-package task matching your project's vendor or src/vendor directory.

The extension's starter directory is also a complete project. Copy it to a writable folder, open that folder in VS Code, and choose Tasks: Run Task → Blyx: Run supplied example. Compare the terminal output with expected.txt.

blyxc native-run vendor/barnowl/verify_install.blyx

In a Blyx test, import vendor::barnowl::verification and call barnowl_verify_install(). The result is zero on success or the number of the first failed check. Package and source files

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

This extension includes the Blyx Barnowl 0.1.0 source, a runnable example and completions for its public functions. It uses the Blyx Language extension for syntax highlighting and execution.

Run in the editor

  1. Open an empty file named barnowl-demo.blyx.
  2. Type blyx-barnowl-demo and select Barnowl — runnable example. You can also use Snippets: Fill File with Snippet.
  3. Choose Blyx: Run File from the command palette. Change an argument near the end of fn main() to try another input.

Expected output

1
1
1
2
0

Use Barnowl in a project

Extract the starter into a new folder. It contains main.blyx, the licensed framework source in vendor/barnowl, and a VS Code task. With the Blyx 0.2.1 compiler and host toolchain installed, run blyxc native-run main.blyx from that folder. Type blyx-barnowl- in a Blyx file to see the framework completions. Download the starter ZIP

API and input requirements · Framework source · Report an issue

GitHub Sponsors · Buy Me a Coffee

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft