Repository navigation
v0.3.2: 1-Click VS Code Runner, Static Dev Server, Parser Resilience & DX Overhaul
Shae v0.3.2 — Developer Experience (DX) & Language Robustness Overhaul
This release brings zero-friction developer ergonomics, rock-solid language tooling, and resilient syntax recovery.
🌟 What's New in v0.3.2
1. Zero-Friction VS Code Extension (v0.3.2)
- 1-Click Title Bar Run Button: Run any
.shaefile instantly with the dedicated$(play)icon in the editor title bar and context menu. - CodeLens Entrypoints: Interactive
▶ Run File | 🐞 Debug Filebuttons directly above line 1 of your code. - Toolchain Auto-Detector & Updater: Automatically checks installed
shaeversion on startup and offers 1-click downloads if missing or outdated. - Auto-Save on Run: Ensures dirty buffers are saved before execution.
2. Built-in Static Development Server (shae serve)
- Instant local HTTP file server directly via CLI:
shae serve . --port 8080 --host 127.0.0.1 - Auto-detects MIME types (
html,css,js,json,svg, etc.). - Safe path sanitization preventing directory traversal attacks.
3. Bytecode VM Web Engine
- Extended HTTP server builtins (
builtin_serveandbuiltin_serve_tls) with full callable recognition (is_callable()) supporting compiled functions, closures, and bound methods. - Web services and REST APIs now execute smoothly under the default bytecode VM.
4. Resilient Parser & Panic-Mode Error Synchronization
- Added
parse_with_recoverywith statement boundary synchronization on semicolons and statement starters (fn,let,if,while,return,struct,enum). - Eliminates cascading syntax errors and preserves LSP diagnostics, symbols, and completions even with syntax errors in the buffer.
5. Standard Library & Example Fixes
- Added
dedupalias tostd:collections. - Fixed CSV demo parsing options and indexing.
- 100% of
examples/verified executable in CI.
📦 Installation & Verification
# Install via GitHub Release
curl -fsSL https://github.com/spdedsec/shae/releases/download/v0.3.2/shae-v0.3.2-linux-x86_64.tar.gz | tar -xz -C ~/.cargo/bin/
# Verify version
shae --version
# Output: shae 0.3.2Full Changelog: v0.3.1...v0.3.2