Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.41 KB

README.md

File metadata and controls

60 lines (38 loc) · 1.41 KB

LangX

Project Description

This project is made using Python and utilizes regular expressions (regex) to implement LangX, a custom programming language. The language includes features such as variable declarations, initializations, and a for loop.

Features

  • Variable declaration: Easily declare variables in LANGX.
  • Variable initialization: Initialize variables with values.
  • For loop: Execute repetitive tasks using the custom for loop implementation.

Installation

To run this project, ensure that you have Python installed. Follow the steps below:

  1. Clone the repository:

    git clone https://github.com/MuhammadAmas/LangX
  2. Navigate to the project directory:

    cd LangX

Examples

Here are a few examples of LangX code

Variable Declaration

'num x'
'decimal y'
'letter z'

Variable Initialization

num a = 5
letter b = "f"
decimal c = 9.8 

For loop

for (num i = 1, i > 4, i++)

Collaborators

This project was developed by the following collaborators:

License

This project is licensed under the MIT License. See the LICENSE file for more details.