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

Chef — Esoteric Programming Language

The Bent Nib

| (0) | Free
Write, run and debug Chef recipes. Intelligent language support, a built-in interpreter and eighteen optional color themes for desktop and web.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Chef for Visual Studio Code

Write recipes. Run programs. Make something deliciously esoteric.

Chef is an esoteric programming language created by David Morgan-Mar in 2002, where programs take the form of cooking recipes. Ingredients hold values, mixing bowls and baking dishes hold data, and cooking instructions bring it all together.

This extension brings Chef to VS Code, with language-aware editing, a built-in interpreter, native debugging and eighteen optional editor themes. It's an open-source project designed for both desktop and web, currently in beta.

On the menu

Editing

There's a little more than syntax highlighting going on behind the scenes:

  • Syntax and semantic highlighting.
  • Context-aware completions and snippets.
  • Hover information and go-to-definition navigation.
  • Recipe outlines, folding and matching-loop navigation.
  • Structural diagnostics and quick fixes.
  • Recognition of regular and irregular loop participles.

Execution

You can run recipes straight from the editor, without installing a separate interpreter. There's support for auxiliary recipes, interactive numeric input and cancellation, and you'll find your program's output in the Chef Output channel.

Debugging

For recipes that don't quite turn out as intended, there's native VS Code debugging. Set breakpoints, step through your recipe and see what's happening to your ingredients, mixing bowls and baking dishes along the way.

A palette for every kitchen

Chef comes with eighteen optional editor themes, from colorful confectionery palettes to literary paper tones and more understated classics. Each family has both light and dark variants.

Pick whichever suits your taste from the usual VS Code theme picker. If you're happy with your current theme, there's no need to change it.

Getting started

Install Chef — Esoteric Programming Language (thebentnib.chef-vscode) from the Extensions view in VS Code or vscode.dev. Choose Install Pre-Release Version if prompted. For testing a build directly from the repository, follow the installation guide.

Once you've installed the extension, create or open a file ending in .chef. You can start from scratch or use the chef-recipe snippet for a basic recipe structure.

To run a recipe, click the play button in the editor or choose Chef: Run Recipe from the Command Palette.

If your recipe asks for input, enter one or more signed integers separated by spaces. Press Escape to cancel an input prompt, or use Chef: Cancel Recipe to stop execution.

To debug a recipe, choose Chef: Debug Recipe from the Command Palette or the editor's context menu. You can inspect the recipe's state and control execution from the Run and Debug view.

There's no need to save your changes before running or debugging a recipe. Both use a snapshot of the current document.

Execution and debugging require a trusted workspace.

A taste of Chef

A Little Greeting.

Ingredients.
72 g chocolate
105 ml cream
33 ml syrup

Method.
Put syrup into mixing bowl.
Put cream into mixing bowl.
Put chocolate into mixing bowl.
Liquefy contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.

Serves 1.

This little recipe serves up a Hi!. The ingredients hold the character values, and liquefying them tells Chef to serve them as characters rather than numbers.

More recipes to try

There are a few examples in the repository if you'd like to explore further:

Recipe What's inside
Midnight at the Patisserie Nested loops, auxiliary recipes and multiple baking dishes.
Refrigerator Sorbet Interactive input and arithmetic. Try 20 fruit and 2 guests.
Sweetened Butter A small recipe for trying out the editing features.

You'll find them in the examples directory. They're programming recipes, not necessarily things you'd want to eat.

Themes

The eighteen bundled themes are arranged into three families, each with three dark and three light palettes.

Family Dark Light
Confectionery Bloom Blossom
Sorbet Sherbet
Bonbon Gumdrop
Literary Mulberry Vellum
Slate Parchment
Indigo Papyrus
Classic Graphite Chalk
Charcoal Ivory
Obsidian Alabaster

Open Preferences: Color Theme and search for Chef to find them all.

Each theme includes coordinated syntax colors, selections, active-line highlights, ingredient occurrences and diagnostic colors. They focus on the editor rather than restyling the entire VS Code workbench.

If you're looking for a font to go with them, Maple Mono is a nice optional pairing. No fonts are bundled with the extension.

If you've used an earlier alpha, you may notice that some themes have been renamed or retired. You can select another theme through the usual theme picker.

Commands

The following commands are available through the Command Palette:

Command What it does
Chef: Run Recipe Run the current recipe.
Chef: Cancel Recipe Stop an active execution session.
Chef: Debug Recipe Start debugging the current recipe.
Chef: Jump to Matching Loop Navigate between the opening and closing instructions of a loop.

The usual VS Code commands for breakpoints, stepping, continuing and stopping also work during a debugging session.

A note on the beta

While the core features are in place, Chef is still a work in progress.

Editing, execution and debugging have been tested automatically in desktop Linux and Chromium web environments. Editing and execution have also been tested manually in GitHub Codespaces.

Standalone vscode.dev installation, manual debugger testing, native Windows and macOS testing, and independent Restricted Mode verification are still outstanding.

A few other things worth knowing:

  • Language resolution currently works within individual documents.
  • The interpreter follows the original Chef specification where its behavior is determinate, with some documented compatibility choices.
  • Full interpreter conformance is not yet claimed.
  • Execution is bounded by resource limits, and only one recipe session can run at a time.
  • Recipes aren't executed automatically. No external interpreter, shell invocation or network lookup is required.

For more details, see interpreter compatibility, execution design and diagnostic behavior.

Theme contrast checks cover the base editor and individual interaction overlays, not full workbench accessibility or every possible overlay combination.

What's cooking next?

For now, the focus is on refining the existing language support, interpreter, debugger and themes.

There are some ideas for optional literary tools further down the road, but I'd like to see how people use Chef before deciding where to take it next.

The roadmap contains more details about completed work, current priorities and possible future additions.

Feedback

There's still plenty of room to grow and a few rough edges to smooth out.

If you've found a bug, have an idea, or simply have a fun recipe to share, I'd love to hear from you. Contributions are welcome, too.

When reporting a bug, it's particularly helpful to include your VS Code version, extension version, platform and a small recipe that reproduces the issue.

Development

If you'd like to build the extension yourself, open the repository in VS Code with Node.js 22 or later installed.

npm run build
npm test

Press F5 to launch the Extension Development Host.

The extension has no npm runtime dependencies. Automated checks cover the parser, interpreter, editor integration, debugger and extension packaging on desktop and web. The original source, generators and build configuration accompany the extension.

The theme palettes and extension icon have editable source files in the repository. You can regenerate them with:

npm run generate:themes
npm run generate:icon

The icon is drawn on a 64 × 64 pixel grid and exported without interpolation.

Further information is available in the contributing guide, architecture documentation and roadmap.

Development transparency

Chef is a human-directed project developed with substantial AI assistance. AI has contributed to much of the implementation, as well as design discussions, testing and documentation.

I guide the project's direction, make design decisions, review changes and test the extension. AI-assisted contributions are held to the same standards as any other contribution.

See the development transparency documentation for more about the development process and its limitations.

About Chef

Chef was created by David Morgan-Mar.

  • Original Chef specification
  • Chef on Esolang

This is an independent project and is not affiliated with the language's creator or Chef Infra.

License

Original extension software: GNU General Public License v3.0 (GPL-3.0-only). See LICENSE.

The bundled English morphology data is derived from AGID 2016.01.19 and retains its upstream terms.

Copyright 2000-2016 and 2000-2014 Kevin Atkinson; WordNet 1.6 Copyright 1997 Princeton University; UK Advanced Cryptics Dictionary Copyright (c) J Ross Beresford 1993-1999. All Rights Reserved where applicable.

See the third-party data notices and complete upstream README.

No external dictionary lookup or telemetry is required.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft