Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>BedRock LanguageNew to Visual Studio Code? Get it now.
BedRock Language

BedRock Language

Karim Mohamed

|
2 installs
| (0) | Free
Syntax highlighting, diagnostics, built-in MIPS emulator and debugger for BedRock
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BedRock Language — VS Code Extension v0.2

Syntax highlighting, real-time diagnostics, built-in MIPS emulator, and register inspector for BedRock.

What's New in v0.2

  • Built-in MIPS Emulator — no external tools needed. Executes .bin files directly inside the extension.
  • Register Inspector Panel — live WebView showing all 32 MIPS registers (hex + decimal), PC, disassembly, and instruction count.
  • Launch Button — ▶ button in the editor title bar compiles and starts debugging in one click.

Features

Feature Description
Syntax Highlighting Keywords, builtins (poke,peek,asm...), hex numbers, strings
Real-time Diagnostics Red underlines as you type — missing ;, unsupported !, bad array literals
Compiler Auto-detect Finds bedrockco.exe across the whole machine on startup
Built-in Emulator Executes MIPS-I binary, supports all BedRock-generated opcodes
Register Panel Live view of all 32 registers, PC, disassembly, instruction count
Breakpoints Set in editor, emulator stops at matching address
Step / Continue F10 = step one instruction, F5 = run to next breakpoint

Usage

  1. Open any .br file
  2. Click the ▶ button in the top-right of the editor (or Ctrl+Shift+P → BedRock: Compile & Debug)
  3. The extension compiles and opens the Register Inspector panel automatically

Compiler Auto-detection

Searches in order:

  1. VS Code setting bedrock.compilerPath
  2. Workspace folder
  3. System PATH
  4. Common locations (C:\BedRock\, ~/.cargo/bin/, etc.)
  5. Full C:\ scan (Windows)

If not found → notification with Download and Select Manually options.

Download Compiler

https://github.com/mrDevRussia/BedRock-Language-Open-Source/releases

Debug Configuration (.vscode/launch.json)

{
  "version": "0.2.0",
  "configurations": [{
    "type": "bedrock",
    "request": "launch",
    "name": "BedRock: Debug",
    "program": "${file}"
  }]
}

Emulator — Supported Instructions

All instructions generated by the BedRock compiler are supported: addu, subu, and, or, xor, nor, slt, sltu, sll, srl, sra, sllv, srlv, mult, multu, div, divu, mflo, mfhi, lw, sw, lb, lbu, lh, lhu, sb, sh, lui, ori, andi, xori, addiu, beq, bne, blez, bgtz, j, jal, jr, jalr

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft