Skip to content

Latest commit

 

History

History
144 lines (90 loc) · 3.76 KB

README.md

File metadata and controls

144 lines (90 loc) · 3.76 KB

Borat Programming Language: A Novel Approach to Coding with Humor 🤖🎉

🚀 Project Overview

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.

borat

Key Features:

🎭 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.

✨ Future Enhancements

  • 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.

🛠 Tech Stack

  • C: Core language for implementing the Borat language.
  • Makefile: For building and compiling the project.
  • GitHub: For version control and collaboration.

🛠 Installation and Setup Guide

Prerequisites

  • GCC Compiler
  • Make

Step-by-Step Installation

  1. Clone the Repository:
   git clone https://github.com/smaswin21/Borat-Lang-using-C.git
  1. Navigate to the Project Directory:
   cd Borat-Lang-using-C
  1. Build the Project:
   make clean
   make 
  1. Run a Borat Program:
   ./borat examples/main.borat 

📁 Project Structure

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

🚀 Usage

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
Screenshot 2023-12-17 at 20 22 59 Screenshot 2023-12-17 at 10 04 40
  • Program 2 : Input and Output
Screenshot 2023-12-17 at 16 02 26 basic

👥 Contributing

Contributions, ideas, and feedback are welcome! Feel free to open issues or submit pull requests to enhance the Borat language experience.

📈 Testing

Testing scripts and guidelines are located in the src directory.