Chef for Visual Studio CodeWrite 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 menuEditingThere's a little more than syntax highlighting going on behind the scenes:
ExecutionYou 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. DebuggingFor 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 kitchenChef 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 startedInstall Chef — Esoteric Programming Language ( Once you've installed the extension, create or open a file ending in 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
This little recipe serves up a More recipes to tryThere are a few examples in the repository if you'd like to explore further:
You'll find them in the examples directory. They're programming recipes, not necessarily things you'd want to eat. ThemesThe eighteen bundled themes are arranged into three families, each with three dark and three light palettes.
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. CommandsThe following commands are available through the Command Palette:
The usual VS Code commands for breakpoints, stepping, continuing and stopping also work during a debugging session. A note on the betaWhile 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:
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. FeedbackThere'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. DevelopmentIf you'd like to build the extension yourself, open the repository in VS Code with Node.js 22 or later installed.
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:
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 transparencyChef 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 ChefChef was created by David Morgan-Mar. This is an independent project and is not affiliated with the language's creator or Chef Infra. LicenseOriginal 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. |