Open a Blyx file
Install the desktop extension with ID RahulChaube.blyx-language. Open or create a file ending in .blyx. For an untitled buffer, select Blyx as its language. The editor highlighting helps you see strings, keywords and comments.
Run the active buffer
Use the play button in the editor title bar or choose Blyx: Run File in the Command Palette. The Blyx output channel shows the output for the current text, including unsaved edits. Paste the first tutorial program and change the string to confirm which version is running.
Read a diagnostic
Remove the closing brace of main and look in the Problems panel. A parser diagnostic reports where parsing ran into trouble. Restore the brace, wait for the parser to update and run again. Runtime failures, such as a zero integer divisor, appear when the program executes.
Use a local extension file
For an offline installation, download blyx-language-1.2.3.vsix from the editor release and choose Install from VSIX in the Extensions view. The extension uses a bundled WebAssembly interpreter. Save the source to disk before running a CLI command against that file.
Practice
Change a string without saving. Compare an editor run with a terminal run before and after saving.
Hint
The editor reads the buffer. The terminal reads the file on disk.
Worked solution
Before saving, the editor can print the new string while the CLI prints the old one. Save and run both again to compare the same source.