Skip to main content

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

Project description

Riddz Logo

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.4.tar.gz (11.6 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.4-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: riddz-1.0.4.tar.gz
  • Upload date:
  • Size: 11.6 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.4.tar.gz
Algorithm Hash digest
SHA256 ecfdf22ab76ee9eeafc2f8324d6a72cf1962b5fb3219def9596ae1d3e5bd0e0b
MD5 9a0e6b2d491f9d4774d82ca2259b7037
BLAKE2b-256 65119589a9c10f8ef85b17631fe25eb5eca22baf71e44816573e9ced3a4e6041

See more details on using hashes here.

File details

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

File metadata

  • Download URL: riddz-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 545ac475f414c5d016683c70f0e497eaee019bc083d80459ec408fc46b5a9d31
MD5 62b7060dfd0153aa821bb502ca6b688b
BLAKE2b-256 bf0eee405f1db7d0afd51f3c4702cb43c5c3662908893668857e35ebf9a5c12d

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