Skip to main content

A Hindi-lalicense=,nguage implementation

Project description

Hindilang 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.3.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.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindilang-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4beb4ac91af45d7454eaa144d6a6c878097d8dd505da27624f08d448f9cede88
MD5 716173dafef258df5d07110beb627d4f
BLAKE2b-256 ab05d5b7d9b11af9ea3243696a97b61433a2c39fac827fc1cec3293d9bd3501c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hindilang-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd8dcd959d560cd8790d5d5d18493c52547f41dd4ccad6e66b1090d8f490e8f
MD5 763d4a28855565046742972c90410619
BLAKE2b-256 4c3a3e5c8bb97d7bf3bbdc590fa922a0d5b4c0792483cd35f14072983e1b01cf

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