Ready to write your first BroCode program? Itโs easy! Follow these simple steps to create your first file and run it.
Steps to Create Your First BroCode File ๐
Start by creating a new file with the .bc extension, like 'myFirstCode.bc'. This will be your BroCode file.
myFirstCode.bc
Make sure to save the file with the .bc extension so itโs recognized as a BroCode file.
Write your code in the BroCode syntax inside the newly created file.
bro maanle y hai 5;
bro dikha de(y);
Use BroCode's simple syntax like 'bro maanle' to declare variables and 'bro dikha de' to print them.
Use the CLI to run your code with the brocode command.
brocode myFirstCode.bc
This will run your BroCode file and display the output in the terminal.