A satirical Nepali election-themed programming language
npm install jholey-langrakhdinus | declare variable |
bol | print |
joddeu | add |
ghataideu | subtract |
gunaideu | multiply |
bhagdeu | divide |
yedi | if |
bhayena | else |
thulo | > |
sano | < |
barabar | == |
matadan | cast votes |
gannadeu | count votes |
samachar | breaking news |
chillau | loud announcement |
arthabujha | sarcastic political analysis |
jholeyRandom | random political drama |
txt
jholey-lang/
β
βββ index.js # CLI entry
βββ interpreter.js # JHOLEY-LANG engine
βββ package.json
βββ README.md
βββ examples/
βββ arkoExample.jholey
βββ election.jholey
`
---
π§ͺ Examples (Learn by Seeing)
Example 1 β Hello JHOLEY
`jholey
bol "Namaste Nepal!"
bol "Election suru bhayo!"
`
Output
`
Namaste Nepal!
Election suru bhayo!
`
Example 2 β Variables & Math
`jholey
rakhdinus koungress = 100
rakhdinus emaley = 120
bol koungress
joddeu koungress emaley
ghataideu emaley koungress
`
Output
`
100
220
20
`
Example 3 β If / Else Condition
`jholey
rakhdinus belun = 200
rakhdinus emaley = 150
yedi belun thulo emaley bol "Independent wave ayo!"
bhayena bol "Purano party balio cha"
`
Output
`
Independent wave ayo!
`
Example 4 β Fake Election Simulation π³οΈ
`jholey
rakhdinus koungress = 120
rakhdinus emaley = 150
rakhdinus belun = 200
rakhdinus ghanta = 90
samachar "Matadan suru bhayo!"
matadan koungress 20
matadan emaley 10
matadan belun 50
matadan ghanta 40
gannadeu
`
Possible Output
`
ποΈ BREAKING: Matadan suru bhayo!
π€‘ JHOLEY: koungress le 20 vote payo
π€‘ JHOLEY: emaley le 10 vote payo
π€‘ JHOLEY: belun le 50 vote payo
π€‘ JHOLEY: ghanta le 40 vote payo
π³οΈ Vote Count:
koungress: 20
emaley: 10
belun: 50
ghanta: 40
π JITYO: belun
`
Example 5 β Chaos Mode π€‘π₯
`jholey
arthabujha belun
jholeyRandom
`
Possible Output
`
π€‘ JHOLEY: belun ko arth: Ground weak cha
π€‘ JHOLEY: Alliance tutyo re!
`
---
π€‘ Funny Errors
Wrong syntax
`jholey
rakhdinus x 10
`
Output:
`
π€‘ JHOLEY COMPILER: rakhdinus ma '=' chaina
`
Unknown command
`jholey
voteRigging
`
Output:
`
π€‘ JHOLEY: Compiler pani jholey bhayo β voteRigging
`
---
π Installation
`bash
npm install -g jholey-lang
`
βΆοΈ How to Run
`bash
jholey examples/election.jholey
``