GithubHelp home page GithubHelp logo

muhammadamas / langx Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 4.03 MB

LangX. It is our custom language inspired from Python and C++.

License: MIT License

Python 100.00%
language-specification cfg-implementation

langx's Introduction

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.

langx's People

Contributors

muhammadamas avatar zunainaliazam avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.