Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Banana Coding Language New to Visual Studio Code? Get it now.
Banana Coding Language

Banana Coding Language

MrBanana3rd

|
11 installs
| (0) | Free
Complete Banana programming language support with bundled compiler
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Banana Language Support for VS Code

INCREDIBLY IMPORTANT: MAKE SURE YOUR COMPUTER CAN RUN THIS MINIMUM 32GB OF RAM AND A 4070!

These system requirments are needed because this language uses an AI for its compiler.

Complete Banana programming language support with bundled compiler - no setup required!

Banana Language Syntax

The Banana programming language features a unique, human-readable syntax:

Basic Commands

  • say: [text] - Output text to console
  • ask: [text] - Get user input with prompt
  • note [text] - Add comments to your code

Variables

name = ask: What is your name?
age = ask: How old are you?

Functions

function = GREET(
    say: Hello there!
)

run GREET

Control Flow

if age > 18 (
    say: You are an adult
)

if not but age = 18 (
    say: You just became an adult!
)

if not (
    say: You are a minor
)

Loops

loop(
    say: This will run forever
)

for item in list (
    say: item
)

More coming soon im just too eepy to add more right now

Requirements

  • Python: Make sure Python is installed and available in your system PATH
  • VS Code: Version 1.74.0 or higher

How It Works

The extension includes a bundled Banana compiler that:

  1. Converts your Banana code to JavaScript
  2. Executes the JavaScript using Node.js
  3. Handles user input/output in the VS Code terminal

Advanced Configuration (Optional)

If you want to use a custom compiler, you can configure:

  • Banana: Compiler Path (banana.compilerPath): Path to Python executable (default: python)
  • Banana: Banana Compiler Script (banana.bananaCompilerScript): Path to custom Banana.py file

Compiler Discovery

The extension searches for compilers in this order:

  1. Bundled compiler (included with extension) ⭐
  2. User's Downloads folder
  3. Current workspace folder
  4. Same directory as the .banana file
  5. Custom path from settings

Alternative Ways to Run

  • Right-click in a .banana file → "Run Banana File"
  • Command Palette (Ctrl+Shift+P) → "Run Banana File"
  • Play button in editor title bar (recommended)

Troubleshooting

"Python not found" error

  • Install Python from python.org
  • Make sure Python is in your system PATH

"Node.js not found" error

  • Install Node.js from nodejs.org
  • Required for executing the compiled JavaScript

License

MIT License - see LICENSE file for details.


🍌 Happy Banana Coding! 🍌

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