Skip to main content

A friendly Hinglish scripting language for the next generation of developers.

Project description

Riddz - The Hinglish Scripting Language

Riddz is a programming language built for the generation that thinks in Hinglish. It combines a familiar C-style syntax with the natural expressiveness of Hinglish keywords.

Overview

Riddz is not just a language; it is a bridge. It is designed for developers who want to write logic that reads like a conversation. Whether you are building simple scripts or complex algorithms, Riddz makes the process intuitive.

Key Features

  • High-level Hinglish keywords for logic and control flow.
  • Support for complex data structures like Arrays.
  • Built-in functions for I/O and timing.
  • Friendly error reporting system in Hinglish.
  • Lightweight and installable via pip.

Installation

Use the standard package manager to install Riddz:

pip install riddz

Quick Start

Create a file named hello.rdz and write some code:

// Variables and Input
rakho user_name = pucho("Enter your name: ");
bolo "Welcome to the world of Riddz, " + user_name + "!";

// List Management
rakho my_apps = ["Insta", "WhatsApp", "GitHub"];
dikhao "My daily apps are: " + my_apps;

// Logic Check
agar (user_name == "Riddhi") {
    dikhao "Admin access granted.";
} warna {
    dikhao "Guest login successful.";
}

Solving DSA in Riddz (Fibonacci)

Riddz supports recursion and complex logic. Here is how you solve the Fibonacci sequence:

banao fibonacci(n) {
    agar (n <= 1) {
        wapas n;
    }
    wapas fibonacci(n - 1) + fibonacci(n - 2);
}

rakho limit = 10;
dikhao "Fibonacci Series for first " + limit + " numbers:";

maan i = 0;
jabtak (i < limit) {
    dikhao fibonacci(i);
    i = i + 1;
}

Syntax Reference

English Riddz Keyword
Variable maan, rakho
Output dikhao, bolo
Input pucho
Function kaam, banao
If / Else agar, warna
Loop jabtak
Return wapas
Booleans sach, sahi, galat
Null kuch_nahi, khali

Contribution

Riddz is an evolving language. We welcome contributions to expand the vocabulary and optimize the engine.


Maintained by Riddhi Dhawan.

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

riddz-1.0.2.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

riddz-1.0.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file riddz-1.0.2.tar.gz.

File metadata

  • Download URL: riddz-1.0.2.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for riddz-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a56bf4640792e6de82ba707b630a88fece74d4dd966d991b2dd31f9fcbcf2982
MD5 6a46d4fff75d9fbf495b0332cea7e6c1
BLAKE2b-256 8e7ea19d449020416330581cdca6d99b3d5ad8269d7230528b721e2fb37033fc

See more details on using hashes here.

File details

Details for the file riddz-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: riddz-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for riddz-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37e511ffe4d92ce85ae4c42b42571a5dfc9da7e254fbf3344c7ab7bdda3f81fb
MD5 1c4a06d55688e8c43e1ad706b943637f
BLAKE2b-256 0df11a224d3926f2a0ca1f0d9427331af5cff96b988d8b3351b643ea2086785d

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