Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pie-SyntaxNew to Visual Studio Code? Get it now.
Pie-Syntax

Pie-Syntax

0x1000007e

|
1 install
| (0) | Free
syntax for the small language Pie
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

pie-syntax — Pie language syntax highlighting for VS Code

A lightweight TextMate grammar and language configuration that provides syntax highlighting for the Pie programming language used in this repo.

Features

  • Syntax highlighting for keywords, types, numbers, strings, comments, function names, and module calls (e.g. Contacts::add_contact).
  • Line comments use # and are recognized by the language configuration.

Example

use pie/std;  # Required for std::print, std::to_string

module Contacts {
    let list contacts = [];

    public def void add_contact(string name, int phone) {
        let map person = {name: name, phone: phone};
        contacts += person;
    }
}

let string name = "Alice";
let int phone = 1234567890;

Contacts::add_contact(name, phone);

Contributing

  • Grammar changes live in syntaxes/pie.tmLanguage.json and language rules live in language-configuration.json. Open a PR for improvements or bug fixes.

Enjoy!

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