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

Uploaded Python 3

File details

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

File metadata

  • Download URL: riddz-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1b4049e3b9261cf85c0c09f6f8f103785a6cf0d0270675e02f370bbf91fd0acd
MD5 4b29a1e7d891342cc3e32849749df758
BLAKE2b-256 098beda6c647f15f205c404790fe3b97fb817d33f6bda70d8201634d42fc53c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: riddz-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aead85159efce523cd4d6ab84281fbef395269ad00993ba09195ea61035d7964
MD5 03b30cce52b6cd18499dd813db8a200d
BLAKE2b-256 a060094b044aa5dcff0d7eb9cb82ee1dd14cfb32adf854718c98b6b96e34b0a8

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