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

Blyx Swiftlet

Rahul Chaube

|
2 installs
| (0) | Free
Dispatch a method and request path against a table of literal and parameterized routes. Return a matched template and the methods a client can use.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Blyx Swiftlet

Dispatch a method and request path against a table of literal and parameterized routes. Return a matched template and the methods a client can use.

This extension includes the Blyx Swiftlet 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 swiftlet-demo.blyx.
  2. Type blyx-swiftlet-demo and select Swiftlet — 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

200
405
404

Use Swiftlet in a project

Extract the starter into a new folder. It contains main.blyx, the licensed framework source in vendor/swiftlet, 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-swiftlet- 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