Live data from Hacker News

Show HN: Pakhi – Bangla Programming Language

github.com

61–69 of 69 posts

Re: Show HN: Pakhi – Bangla Programming Language

#63

I wonder if it’s possible for the programming languages to take advantage of the unique features in some languages, e.g. Agglutination in Hungarian and Turkish. Has any study being done to that effect? I love the concept, this project has the potential to bring a whole new demography to the fold of programming.

Perl's $_ is supposedly something inspired by linguistics.

Re: Show HN: Pakhi – Bangla Programming Language

#64
post #27

This is super cool. Although I cannot read Bangla, is it possible to extend this to other Indian languages, like say Hindi?

I remember one being posted to r/programminglanguages in Hindi keywords, and another called ezhil with Tamil keywords.

Re: Show HN: Pakhi – Bangla Programming Language

#65
post #38

Earlier quoted context omitted.

An interesting concept from Turkish is each word can directly give you all (or single) objects that do or can respond to that action yap -- make yapan -- the one who makes yapanlar -- all those who make yapılan -- then one being made yapılanlar -- all those being made This would be like functions having a standard way to return lists of all objects they're related to Or direct solving of some complex queries like 'Wh…

* yap: make * yapan: maker * yapanlar: makers * yapılan: made (I think, "then one being made" doesn't make sense to me) * yapılanlar: OK you got me there! It may be another job for "made" or goods or a synonym eg: objets d'art. Yes, I did just use three languages as my own in one sentence. I'm not a linguist. I've managed to fail French and German and yet pass Latin (whatever the heck that is!) at O level (old UK exa…

Nice work, and nice list. I also failed in many languages :)

  yapıcı -- maker
  yapıcılar -- makers
  yapılcı -- something with the job of being made
Yes, that last one doesn't make sense, which shows you are right, they are different concepts

  yapmayan -- the one who doesn't make
  yapmayacı -- the one whose job is not to make
  yapabilan -- the one able to make
  yapmayabilan -- the one not able to make
Interesting to correspond those to programming concepts! A DOM query for objects. The task makes me think natural language is designed more for controlling scenes in a video game or theatre, than for programming -- since concepts like duration, force and timing are so prevalent

A Turkish word I'd like to see in English would be

  Kolay gelsin
Literally may it come easy to you, meaning both bless you, and I see your hardship

No matter where you say it, it makes people smile

Re: Show HN: Pakhi – Bangla Programming Language

#66
post #4

How common are programming languages designed with base languages other than english? This is the first one i’ve seen.

IIRC, AppleScript was once usable in languages other than English.

Whether it's actually _designed_ with those languages in mind is a different question. VBA (in)famously was also translated for non-English versions of Office, but that only involved replacing the keywords by translated ones in the other language. German VBA read _very_ weirdly to me, back then.

Re: Show HN: Pakhi – Bangla Programming Language

#67

While I 100% applaud the effort - and I absolutely love the idea of languages in non-English languages - you should be aware that phonetically (and if you drop the 'h'), the name is a racist term in the UK at least.

The thing is that nobody should care about what is considered racist term by some people in the UK or the US. Customs of the anglosphere most definitely shouldn't define and limit language and culture in rest of the world.

Re: Show HN: Pakhi – Bangla Programming Language

#68
post #54
post #21

Cool project! A bit off topic, but I’m a bad Bangladeshi and never learned the alphabet. Any sources you recommend to learn? I’m not great with (human) languages to begin with, but the character set is a real hurdle.

I would suggest watch bangla content with english subtitle. Thats how i learned english when i was young, by watching a lot of pokemon and transformers in english. I should also warn you bangla content of good taste is very hard to find. Here is a link to list of extremely good bangla movie: https://asianmoviepulse.com/2020/09/20-great-bangladeshi-fil...

Well now here I was going to tell him how he was missing out on Swami Keno Asami or Mithun Chakraborty as Hitler.

Re: Show HN: Pakhi – Bangla Programming Language

#69

I wonder if it’s possible for the programming languages to take advantage of the unique features in some languages, e.g. Agglutination in Hungarian and Turkish. Has any study being done to that effect? I love the concept, this project has the potential to bring a whole new demography to the fold of programming.

Perl's $_ is supposedly something inspired by linguistics.

Indeed. It's called "the topic".

In the Raku Programming Language it is set with various explicit commands, such as `given` (just set it) or `with` (only fire if instantiated). Method calls without an invocant, are executed on the toppic. Together with phasers, this combines into:

    LEAVE .disconnect with $dbh;
In other words: if you leave this block of code (by any means, including an exception), disconnect the database handle if it was instantiated)
Post reply on HN