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

ApeLang Syntax

Duong Dinh

|
6 installs
| (1) | Free
apelang highlight syntax
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🦍 ApeLang Syntax Highlighter for VS Code

Welcome to the official VS Code extension for ApeLang — the prehistoric language of the jungle! This extension brings colorful syntax highlighting, banana-powered logic, and improved readability to .ape files right in your editor.


Features

  • Primitive Types: number, string, boolean, nil

  • Control Flow: if, else, banana (while), swing (loop), tumble/catch (try/catch), give (return)

  • Operators:

    • Arithmetic: ooh (+), aah (-), eek (*), ook (/)
    • Logical: ripe (and), yellow (or)
  • Modules: summon "utils.ape"

  • Functions: tribe name(args) { ... }

  • IO: tree (print), ask() (input)

  • Collections:

  • Lists: [1, "banana", true]

  • Maps: {"type": "fruit", "color": "yellow"}

  • Error Handling: tumble { ... } catch (err) { ... }

  • Syntax highlighting for .ape files

Built-in Functions & I/O

User Input: ape wisdom = ask()

Modules: summon "string_utils.ape"

File System: forage("path.txt") (read), inscribe("path.txt", "data") (write)

Advanced String Manipulation Full highlighting for the powerful built-in string tribes:

tally(str): Get the length of a string.

slice(str, start, end): Get a substring.

graft(str1, str2): Concatenate strings.

scan(haystack, needle): Find a substring's index.

shed(str): Trim whitespace.

Requirements

  • Visual Studio Code v1.70 or higher
  • No external dependencies — just install and go bananas

⚙️ Extension Settings

This extension currently doesn't expose any settings. Future versions may add toggles for color themes, custom keywords, and jungle-themed UI enhancements.


Known Issues

  • Syntax highlighting only; no linting or autocomplete yet
  • Experimental support for nested tumble/catch blocks
  • Might not properly highlight malformed jungle code 🪵

Release Notes

1.0.0

  • Initial release: basic syntax support for ApeLang

1.1.0

  • Added support for tumble/catch
  • Highlighted logical operators (ripe, yellow)
  • Array and map syntax support

Working with Markdown

This README is fully Markdown-compatible and editable inside VS Code. Some helpful shortcuts:

  • Cmd+\ → Split Editor
  • Shift+Cmd+V → Toggle Preview
  • Ctrl+Space → Autocomplete/snippets

For More Info

  • Official ApeLang GitHub

Go bananas and enjoy writing with ApeLang! 🍌🦍 Pull requests, feature ideas, and jungle howls welcome.

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