Hindi Programming Language
SKTN Hindi Programming Language (HPL) is a high level programming language, developed by The INDIAN developer Shamit Kumar Tomar, that runs in Hindi. The language is currently in its initial stage and is developing continuously. The first beta of the language and the accompanying IDE (Integrated Development Environment) was released on August 29, 2007.
The Hindi Programming Language is designed to be easy to learn and use and has been used to compile to MSIL{Microsoft Intermediate Language that can run on any machine where .NET Framework 2.0 is installed.
Language feature
The language currently has the following features that can be compared to other programming languages.
Hindi Programming Language Keyword |
Similar Keyword in other programming languages |
|---|---|
अंक |
float / double |
अवस्था |
Boolean |
पंक्ति |
String |
और |
AND / && |
या |
OR / |
नहीं |
NOT / ! |
लिखें |
Write / printf |
लिखेंअगली |
WriteLine / printf NextLine |
पढें |
ReadLine / scanf |
छोड़ें |
Comment / Rem |
टिप्प्णी |
Multiline Comment / /* */ |
खत्म |
End / BlockEnd |
अगर |
If |
वरना |
Else |
वरनाअगर |
ElseIf |
जबतक |
While |
पुनरारंभकरें |
continue |
निकलें |
break |
जब |
When |
दोहराएँ |
Repeat |
तबतक |
Until |
चक्कर |
Loop |
चुनाव |
Select / switch |
दशा |
case |
अगला |
Next / Fallthrough |
अन्यदशा |
default |
कार्य |
Function |
खाली |
void |
करें |
Call / Invoke |
परिभाषा |
Declare |
Uses
The SKTN Hindi Programming Language is primarily developed for imparting basic programming knowledge to those who are new to programming and are less comfortable with English, so that they can use their native language to understand the concepts of programming and undertake SKTN Hindi Programming Language as their first step towards the field of programming. The language and the associated IDE is intended to be kept as a freeware forever.
Sample code
Here are some examples of the language:
Program to print Hello World on screen:
कार्य खाली मुख्य ( )
लिखें "Hello World!"
खत्म कार्य
Program to input time from user and greet him/her accoordingly:
कार्य खाली मुख्य ( )
अंक समय
लिखें "Enter current time"
पढें समय
अगर [ समय < 12 ]
लिखें "Good Morning"
वरनाअगर [ समय >= 12 और समय < 16 ]
लिखें "Good Afternoon"
वरना
लिखें "Good Evening"
खत्म अगर
खत्म कार्य