Home

Pankti Programming Language #

Pankti Programming Language

Introduction #

Pankti is an dynamically typed programming language for programming in Bengali, English, Bengali phonetic as well as Combination of both. Pankti is an easy to learn programming language but it was also powerful language to create useful and fast programs.

Why #

My mother tongue is Bengali. Previously there have been few attempts to build a Bengali programming language but most of them have no practical usage, so I ventured into the dark world of language design.

Language Features #

Data Types: #

  • Strings/স্ট্রিং: "Hello world", "pankti", পলাশ বাউরি
  • Numbers/সংখ্যা: 100, 3.14, 1234, ১২৩৪৫৬৭৮৯০, ৩.১৪, ৯9.9৯
  • Dictionaries/HashMap/Map/ম্যাপ: {"name" : "palash" , "time":7.22 , "পদবি" : "বাউরি" }
  • Array/তালিকা: ["রবিবার", "Monday", 1 , 2.34]
  • Booleans: true, false, সত্যি, মিথ্যা

Variables: #

1ধরি নাম = "পলাশ"
2ধরি পুরোনাম = নাম + " বাউরি"
3ধরি মাস = "বৈশাখ"
4ধরি সাল = ২০২৩

Functions: #

1কাজ ঘুমানো(নায়ক)
2    দেখাও নায়ক + " এখন ঘুমোচ্ছে!"
3শেষ
4ঘুমানো("পলাশ")
1Output: পলাশ এখন ঘুমোচ্ছে