Welcome to the Borat Programming Language project, where we've created an interpreted programming language inspired by the iconic character Borat. This project is a unique blend of humor and technical skill, aimed at providing a fresh perspective on programming language design and implementation using C.
🎭 Unique syntax inspired by Borat's linguistic style using regular expressions.
📚 Comprehensive standard library with Borat-themed functions.
🖥️ Efficient lexer and parser implemented in C for fast execution.
🤝 Easy-to-understand syntax for beginners and Borat-enthusiasts alike.
- IDE Integration: Developing plugins for popular IDEs.
- Extended Library: Adding more Borat-themed functions and features.
- Community Contributions: Encouraging contributions of Borat-inspired code snippets.
- Interactive Tutorials: Creating engaging tutorials for learning the language.
- C: Core language for implementing the Borat language.
- Makefile: For building and compiling the project.
- GitHub: For version control and collaboration.
- GCC Compiler
- Make
- Clone the Repository:
git clone https://github.com/smaswin21/Borat-Lang-using-C.git
- Navigate to the Project Directory:
cd Borat-Lang-using-C
- Build the Project:
make clean
make
- Run a Borat Program:
./borat examples/main.borat
Borat-Lang-using-C/
├── examples/
│ ├── functions.borat
│ ├── functions2.borat
│ ├── main.borat
│ └── print.borat
├── regular_expressions/
│ ├── categorized dataset.xlsx
│ ├── regex_subtitles.ipynb
│ └── subtitles.txt
├── src/
│ ├── AST.c
│ ├── io.c
│ ├── lexer.c
│ ├── main.c
│ ├── parser.c
│ ├── scope.c
│ ├── token.c
│ └── visitor.c
├── src/include/
│ ├── AST.h
│ ├── io.h
│ ├── lexer.h
│ ├── main.h
│ ├── parser.h
│ ├── scope.h
│ ├── token.h
│ └── visitor.h
├── .vscode/
│ ├── c_cpp_properties.json
│ └── settings.json
├── Makefile
└── README.md
Experiment with the provided examples or write your own Borat language programs. Enjoy the blend of humor and coding! This section includes sample programs and images for our language working.
- Program 1 : Input and Output
- Program 2 : Input and Output
Contributions, ideas, and feedback are welcome! Feel free to open issues or submit pull requests to enhance the Borat language experience.
Testing scripts and guidelines are located in the src directory.