FlavorLang blends coding with culinary creativity! Write programs like recipes β add ingredients, cook, and serve ideas with unique keywords that make coding as fun and flavorful as your imagination.
Important
FlavorLang is currently in Beta. While core functionality is largely stable, new features, syntax, and language designs are subject to change without prior notice.
Please feel free to contribute by reporting any issues or suggestions in the repository's Issues.
- Unique & Fun: Express your programs like recipes!
- Flexible Execution: File extensions and flags allow customized program behavior.
- Readable Syntax: Keywords like add, mix, cook, and deliver make code approachable and enjoyable.
- Debug-Friendly: Easily trace and test your code step-by-step with
--debug
mode.
Get up and running with FlavorLang in just a few steps!
$ bash install.sh
- If macOS prompts a security warning, navigate to System Preferences > Security & Privacy > General.
- Click Open Anyway for
flavor
.
$ flavor --about
Note
If this step fails (expected on macOS due to security) go back to step 3.
$ bash install.sh
$ flavor --about
$ git clone https://github.com/KennyOliver/FlavorLang.git
$ cd src
$ make
Warning
Unless you move flavor
to /usr/local/bin/
,
you'll have to use ./flavor
for commands with relative file paths.
# recipe.flv
serve("Welcome to FlavorLang!");
$ flavor recipe.flv
Welcome to FlavorLang!
Enable debug mode to inspect tokens and execution flow.
$ flavor recipe.flv --debug
This will print detailed information about the tokenization and parsing process.
$ flavor recipe.flv # Run a FlavorLang script
$ flavor recipe.flv --debug # Debug mode (verbose output)
$ flavor recipe.flv --minify # Minify the script (creates recipe.min.flv)
$ flavor --about # Show information about FlavorLang
$ flavor --github # Open the GitHub repository
Command | Description |
---|---|
flavor recipe.flv |
Run a FlavorLang script |
flavor recipe.flv --debug |
Debug mode (verbose output) |
flavor recipe.flv --minify |
Minify script (recipe.min.flv ) |
flavor --about |
Show info about FlavorLang |
flavor --github |
Open GitHub repository |
Note
The --debug
flag is especially useful for understanding how FlavorLang processes your file, including tokenizing, parsing, and interpreting.
1. Download & Extract the ZIP (FlavorLang Releases)
Navigate to the vscode-extension
folder and install dependencies:
$ cd vscode-extension
$ npm install
Use vsce
(Visual Studio Code Extension Manager) to build the .vsix
package:
$ npx vsce package
- Open VS Code.
- Press ββ§P (CtrlShiftP on Windows) and select Extensions: Install from VSIXβ¦.
- Select the generated
.vsix
file within thevscode-extension
folder. - Restart your extensions via the popup notification.
This project is licensed under the Apache 2.0 License β see the LICENSE file for details.
Β© 2024-2025 Kenneth Oliver. All rights reserved.