Registry / dhurandar

dhurandar

JSON →
library1.0.5jsnpmunverified

Dhurandar is a lightweight, esoteric programming language compiler that transpiles Hinglish-based syntax to JavaScript. It uses fun keywords like 'oye sun' for variable declarations and 'hamzaKiDiary' for console output. Version 1.0.5 is the latest stable release; development appears sporadic with no clear release cadence. The package is primarily a novelty language for educational or entertainment purposes, not meant for production. It can be run via npx without installation.

npm install dhurandar
INSTALL
IMPORT
SIG · DHURANDAR
D
dhurandar
javascriptv1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

compile
import { compile } from 'dhurandar'
const dhurandar = require('dhurandar')
CommonJS require returns an object with compile method; ESM default import does not exist.
run
import { run } from 'dhurandar'
import dhurandar from 'dhurandar'
No default export; run is a named export.

Demonstrates running Dhurandar code to compute sum and compare numbers, outputting via hamzaKiDiary.

import { run } from 'dhurandar'; const code = ` hamza ali mazari oye sun a = 10 oye sun b = 20 oye sun sum = a + b hamzaKiDiary("Total is: " + sum) agar(a < b) { hamzaKiDiary("B is bigger!") } `; run(code);
Debug
Known issues
gotchaAll code must start with 'hamza ali mazari' or compilation fails.
fix
Include 'hamza ali mazari' as the first line of your Dhurandar source.
affects: >=1.0.0
gotchaVariable declarations use 'oye sun' but reassignment uses 'oye sun' again; no 'let' or 'const' equivalent.
fix
Always use 'oye sun' for both declaration and assignment.
affects: >=1.0.0
gotchaThe package syntax-highlighted VS Code extension is optional and must be manually installed from a VSIX file.
fix
Download the VSIX from the GitHub releases and install via 'Install from VSIX...' in VS Code.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Unknown keyword: 'var'
Standard JavaScript 'var' is not recognized; only 'oye sun' is allowed.
fix
Replace 'var' with 'oye sun' in your Dhurandar source.
SyntaxError: Missing 'hamza ali mazari' header
The compiler expects the first line of the file to be exactly 'hamza ali mazari'.
fix
Add 'hamza ali mazari' as the very first line of your .pakkimkc file.
ReferenceError: hamzaKiDiary is not defined
Using a function name other than 'hamzaKiDiary' for output; the language only supports that specific keyword.
fix
Use 'hamzaKiDiary' instead of 'console.log' or any other output function.
Upgrade
Version history
1.0.5latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
dhurandar — npm install dhurandar · libregistry