Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pict Syntax HighlightingNew to Visual Studio Code? Get it now.
Pict Syntax Highlighting

Pict Syntax Highlighting

Lianting Wang

|
2 installs
| (0) | Free
Syntax highlighting, basic snippets, and language configuration for Pict (π-calculus based language).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pict-Syntax-Highlighting

Minimal but practical syntax highlighting and snippets for the Pict language (π‑calculus style).

Features

  • Block comments {- … -}
  • Keywords: run new def and type val if then else
  • Numbers, strings, operators ! ? | = ; @
  • Record labels a=, b= highlighted inside [ ... ]
  • Type modifiers: channel ^T, responsive /T
  • Basic snippets (def, new, run, if)

File Associations

  • .pi

Install (from VSIX)

  1. Open VS Code → Extensions (Ctrl/Cmd+Shift+X).
  2. Click … (More) → Install from VSIX… and choose the packaged .vsix or .zip (unpack to a folder under ~/.vscode/extensions).

Sample

See sample/test.pict for a quick smoke test.

Tuning

If you want more precise highlighting (e.g., typed parameters, booleans encoded via channels, Nomadic Pict keywords), extend syntaxes/pict.tmLanguage.json with new patterns.

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