Zero B Language Support for Visual Studio Code & Cursor
Official language extension for Zero B, the ultra-fast bare-metal programming language with Pure Pythonic syntax, 100% Zero-Unsafe architecture, and ARM64 NEON SIMD acceleration.
Key Features
Native LSP 3.17 Integration (zbc --lsp):
Real-Time Inlay Type Hints: Automatically computes and renders inferred types (: int, : ptr, : Vec[T]) directly in the editor in real-time.
Compiler Diagnostics: Instant red squiggly error reporting for syntax, unknown identifiers, and type mismatches.
Go To Definition (F12) & References (Shift+F12): Instant navigation across symbols.
Document Formatting (Shift+Option+F): Standardized 4-space indentation and layout formatting.
Smart Rename (F2): Safe semantic renaming of local variables and parameters.
Markdown Hover Docs: Rich type signatures and documentation on mouse hover.
Pure Pythonic Syntax Highlighting: Clean indentation-block highlighting (:), shorthand types (ptr, rawptr, size, str), and keyword coloration.
Hardware SIMD & Intrinsics: Full semantic coloring for zb_vec_*, zb_store*, zb_load*, and wrapping arithmetic operators (+%, -%, *%).
CodeLens One-Click Run: "▶ Run Zero B Target" button above fn main() for instant execution.
Language Configuration & Snippets: Smart indentation rules, auto-closing brackets, and fast code templates.