Pankti is a 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.
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.
- 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
,সত্যি
,মিথ্যা
ধরি নাম = "পলাশ"
ধরি পুরোনাম = নাম + " বাউরি"
ধরি মাস = "বৈশাখ"
ধরি সাল = ২০২৩
কাজ ঘুমানো(নায়ক)
দেখাও(নায়ক + " এখন ঘুমোচ্ছে!")
শেষ
ঘুমানো("পলাশ")
Output: পলাশ এখন ঘুমোচ্ছে
Pre-alpha. Under heavy development
MPL v2
Note: Buno the Heron, the mascot is created by Me, Palash Bauri and are licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
Thorsten Ball for writing these amazing book "Writing An Interpreter In Go" and "Writing A Compiler In Go" and Robert Nystrom for writing his awesome book "Crafting Interpreters"