Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BROLANG is a programming language built for fun written in golang. This language targets funnier syntax with mean error messages.

License

Notifications You must be signed in to change notification settings

whyankush07/brolang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brolang

Brolang is a fun programming language built for fun by Ankush

Supports both pure english and pure hindi syntax with fully customizable keywords and error messages.

🚀 Getting Started

You can get started with BROLANG by visiting brolang.whyankush.wtf

  • To set up locally, you can clone the repository and run the following commands:
git clone https://github.com/ankush-web-eng/brolang
npm install -g yarn
yarn install
yarn dev

✨ Features

🎨 Custom Syntax Editor

  • Fully Customizable Keywords: Change any keyword to your preferred term (e.g., "bhai_sun" → "LET", "agar" → "IF")
  • Personalized Error Messages: Modify error messages to match your style or language
  • Real-time Preview: See changes instantly in the playground
  • Persistent Configuration: Save your custom syntax to localStorage
  • Reset to Default: Easily restore original syntax anytime

🎮 Interactive Playground

  • Write and test Brolang code instantly in your browser
  • Real-time syntax highlighting and error detection
  • Multiple themes support (Dracula, GitHub Dark, Monokai, etc.)
  • Responsive design for mobile and desktop

🐛 Bug Reporting System

  • Report bugs directly from the application
  • Integrated with GitHub Issues for seamless tracking
  • User-friendly interface for detailed bug descriptions

📚 Documentation

  • Comprehensive docs available in both Hindi and English
  • Interactive examples and tutorials
  • API references and language specifications

🛠 Tech Stack

  • On production, this application uses Client-Server architecture optimized for performance and cost-efficiency
  • WebSocket server and worker code available in server/ directory
  • Code is well-commented with context in context/CodeContext.tsx

📖 Usage

Using the Custom Syntax Editor

  1. Click the "Customize Syntax" button in the playground
  2. Modify keywords and error messages to your liking
  3. Test your changes in real-time
  4. Save configuration to persist across sessions
  5. Share your custom syntax with others!

Example Custom Syntax

// Default syntax
bhai_sun x = 10;
agar x > 5 {
    bol_bhai "Hello World!";
}

// Custom syntax example
let x = 10;
if x > 5 {
    print "Hello World!";
}

🤝 Contributing

  • Contributions, issues and feature requests are welcome!
  • Check the issues page to contribute
  • Open to suggestions for new syntax, error messages, and tech stack improvements
  • DM me on Twitter for quick discussions

📝 License

BROLANG is licensed under the MIT License. See LICENSE for more information.

About

BROLANG is a programming language built for fun written in golang. This language targets funnier syntax with mean error messages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published