brainrotscript
Version:
🧠A brainrot programming language that compiles to JavaScript - because why write normal code when you can write code that's absolutely sending you? 💀
47 lines (38 loc) • 1.53 kB
Markdown
# Changelog
All notable changes to BrainrotScript will be documented in this file.
## [1.0.0] - 2024-12-19
### 🎉 Initial Release
**Breaking Changes:**
- Changed file extension from `.brs` to `.brainrot` for better branding
- Changed CLI command from `brs` to `brainrot`
**Features:**
- ✅ Complete brainrot-to-JavaScript transpiler
- ✅ Support for all JavaScript features (classes, async/await, etc.)
- ✅ 47 brainrot keyword mappings (function → job_application, etc.)
- ✅ CLI with compile, run, and keywords commands
- ✅ Direct file execution: `brainrot myfile.brainrot`
- ✅ Global npm package installation ready
- ✅ Comprehensive examples and documentation
**Technical:**
- ✅ Proper class method handling (removes function keyword inside classes)
- ✅ Word-boundary-aware keyword replacement
- ✅ Automatic temporary file cleanup
- ✅ Error handling and user-friendly messages
**Package:**
- ✅ Ready for npm publishing
- ✅ Global binary command: `brainrot`
- ✅ Main entry point: `src/compiler.js`
- ✅ Comprehensive README and documentation
- ✅ Examples included in package
### Commands Available:
```bash
brainrot <file.brainrot> # Direct execution
brainrot run <file.brainrot> # Explicit run command
brainrot compile <file.brainrot> # Compile to JavaScript
brainrot keywords # Show all mappings
brainrot --help # Show help
```
### Installation:
```bash
npm install -g brainrotscript
```