Skip to main content

A Hindi-lalicense=,nguage implementation

Project description

Hindilang is a simple programming language developed by Ujjwal Kumar Rajak and his team during their internship at Beasova. It supports basic arithmetic operations and loops, providing an easy-to-use syntax inspired by Hindi keywords for programming.

Features Supports arithmetic operations (+, -, *, /, %). Supports variable declaration using ank. Printing is done using chhapna. Supports loops (for, while, do while) and conditional statements (if-else).

Installation To install Hindilang, use:

pip install hindilang

Example Usage Below is an example demonstrating basic arithmetic operations in Hindilang:

import hindilang


if __name__ == "__main__":
    code = r'''

        ank a = 10;
        ank b = 5;
        ank c = a + b;
        chhapna(c); 

        ank i = 0;
        keLiye (ank i = 0; i < 3; i = i + 1) {
            chhapna(i);
        }

        ank j = 0;
        karo {
            chhapna(j);
            j = j + 1;
        } 
        jabTak (j <= 3);

        ank k = 3;
        jabTak (k > 0) {
            chhapna(k);
            k = k - 1;
        }

        ank a = 10;
        agar (a > 5) {
            chhapna(a);
        } warna {
            chhapna(0);
        }
    '''

hindilang.run_code(code)

It is the part of their internship at Beasova, Ujjwal Kumar Rajak and his team contributed to the development of Hindilang to make coding more accessible by incorporating Hindi syntax into a programming language.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hindilang-0.1.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hindilang-0.1.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file hindilang-0.1.4.tar.gz.

File metadata

  • Download URL: hindilang-0.1.4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for hindilang-0.1.4.tar.gz
Algorithm Hash digest
SHA256 11048430ff94305d60c2224c03f08bcb82ac2bb3dc68f5a621bac0ad7906daa5
MD5 9216a37dad758e278b1e95064e5433bf
BLAKE2b-256 441b13e5bd80a7f2e58db8a9caddac89c9cbb98b206953ae9ee42963a0ea4890

See more details on using hashes here.

File details

Details for the file hindilang-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: hindilang-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for hindilang-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 da15146f2a7406603fa4fb891ce507331d48413e8fcaf83569850a05f0dfa495
MD5 4b7f06f4ae29d05df651e754a439f215
BLAKE2b-256 58043879195578c3f30a75a94d61c910268e20dec95a47c380ed54a9eebb1306

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page