Complete Cambridge International (CAIE 9618 / 0478) pseudocode support: syntax highlighting, IntelliSense, snippets, live error checking, and a built-in interpreter that runs your pseudocode in the terminal — no extra installs needed.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Create a file ending in .pseudo (or .p), e.g. hello.pseudo:
DECLARE Name : STRING
OUTPUT "What is your name?"
INPUT Name
OUTPUT "Hello, ", Name, "!"
Press F6 (or the ▶ button top-right). Your program runs in the terminal — OUTPUT prints there and INPUT reads what you type. Ctrl+C stops it.
Example programs covering the whole syllabus are in examples/.
What's inside
Built-in runtime for the complete CAIE syllabus — all data types incl. DATE, arrays, IF/CASE, all loops, procedures/functions with BYREF, full string/number/date library, file handling incl. random access, records, enums, pointers, sets, OOP with inheritance, and TRY/EXCEPT
Editor support — syntax highlighting, IntelliSense with docs, hover help, snippets, live error checking
Flexible exam forms — ← or <-, ENDIF or END IF, ELSE IF chains, one-line IFs, DATE literals like 25/12/2026, multi-line headers, and more
Friendly errors — messages that tell you the line and how to fix it
Bonus REPL — node out/cli.js runs pseudocode line-by-line in any terminal
Build from source
npm install
npm run compile
npx vsce package # produces the .vsix