Brainrot is a meme-inspired programming language that translates common programming keywords into internet slang and meme references. This VSCode extension provides syntax highlighting and basic language support for Brainrot files (.brainrot
).
skibidi main {
yapping("Hello, World!");
bussin 0;
}
In Brainrot:
skibidi
is equivalent tovoid
rizz
is equivalent toint
bussin
is equivalent toreturn
- And much more...
This extension adds:
- Syntax highlighting for Brainrot language keywords, operators, and built-in functions.
- File association for
.brainrot
files. - Basic language configuration (comments, brackets, etc.).
Refer to the Installation Guide.
-
Clone this repository to your local machine:
git clone /~https://github.com/brainrotlang/brainrot-vscode-support.git cd brainrot-vscode-support
-
Open the project in VSCode:
code .
-
Install the required dependencies: Make sure you have Node.js installed. If not, download and install Node.js. Then, run:
npm install
-
Package the extension: Install the VSCode Extension Manager (
vsce
) if you haven't already:npm install -g @vscode/vsce
Run the following command to package the extension into a
.vsix
file:vsce package
This will create a file like
brainrot-x.y.z.vsix
. -
Install the packaged extension: Open VSCode and install the extension manually:
- Go to the Extensions view (
Ctrl+Shift+X
orCmd+Shift+X
on macOS). - Click the "..." menu in the top-right corner and select "Install from VSIX..."
- Navigate to the
.vsix
file you created and select it to install.
- Go to the Extensions view (
-
Reload VSCode: After installation, reload VSCode to ensure the extension is active.
-
Test the extension: Open a
.brainrot
file to see syntax highlighting and language features in action.
After following the installation steps, you can start writing Brainrot code in any file with a .brainrot
extension. VSCode will automatically apply syntax highlighting for recognized keywords and operators.
The following keywords are highlighted in Brainrot:
Brainrot | C Equivalent |
---|---|
skibidi | void |
rizz | int |
cap | bool |
cooked | auto |
flex | for |
bussin | return |
edgy | if |
amogus | else |
goon | while |
bruh | break |
grind | continue |
chad | float |
gigachad | double |
yap | char |
grimace | const |
sigma rule | case |
based | default |
mewing | do |
gyatt | enum |
whopper | extern |
cringe | goto |
giga | long |
smol | short |
nut | signed |
maxxing | sizeof |
salty | static |
gang | struct |
ohio | switch |
chungus | union |
nonut | unsigned |
schizo | volatile |
W | true |
L | false |
Contributions are welcome! If you'd like to improve the extension, feel free to submit a pull request:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the GPL License - see the LICENSE file for details.
- Inspired by meme culture and internet slang.
- Built using VSCode's TextMate grammar and language configuration.