Skip to main content

A Hindi-lalicense=,nguage implementation

Project description

Hindilang is a simple programming language developed by Ujjwal Kumar Rajak during the 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.5.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.5-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindilang-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 9d6905493956bc938e9776735e5c81cc2462324f0e230c54ee094c6e1b1eb699
MD5 e96931e922ed0e121590b905618d9c9c
BLAKE2b-256 0fc2d43577c4a928607435cce2c9386b5b63609cd605cf429c8bd5657c2a0a69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hindilang-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 097a38115943b7170a179e6ee1366764389d400535a40ea18be8c6caf0ba618d
MD5 29e4d9c1544e0b3cab393ddf79f3ac07
BLAKE2b-256 41b7201016b9300b2b0bea8466ee20e304ffc5425bd0b9149b23c34d50f6453c

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