Live data from Hacker News

Show HN: Bato – A Filipino Programming Language

github.com

11–20 of 127 posts

Re: Show HN: Bato – A Filipino Programming Language

#12
post #4

Earlier quoted context omitted.

A language with Internationalized keywords would be pretty dope.

That's what they do with formulas in Excel. There it sucks HARD. Try googling for documentation on StackOverflow for example. Anything you want to copy paste doesn't work because Excel is expecting the commands in a different language.

It only sucks for us, that are used to English as "programming language".

Many Office users only speak their native tongue, are quite happy with the translations and don't even know that StackOverflow exists.

They rather buy books, https://www.fca.pt/en/catalogue/computer-science/office/page...

Re: Show HN: Bato – A Filipino Programming Language

#13
One thing I'm completely ignorant of is how to people from countries where non-latin alphabets are write code? Eg if you're Chinese, Arabic even Russian do you have to do everything in English and English characters?

I'd hope there is a Unicode mapping into other characters - is there any language that supports this? Even for libraries would be nice.

Re: Show HN: Bato – A Filipino Programming Language

#14
I've had ideas of where we abstract the syntax of a program language in a way that there would be multiple 'views' of the code.

What if you could run a program that would translate Bato programs into Ruby and vice versa? The variables would be a hard part so maybe it would hint you at a translation of it or you could add a hint yourself.

Or what if you had a language that had a javascript like syntax and a lisp like syntax. You would run a program that would translate it from one syntax for the other. You could add or subtract syntactic sugar.

Re: Show HN: Bato – A Filipino Programming Language

#15

I've had ideas of where we abstract the syntax of a program language in a way that there would be multiple 'views' of the code. What if you could run a program that would translate Bato programs into Ruby and vice versa? The variables would be a hard part so maybe it would hint you at a translation of it or you could add a hint yourself. Or what if you had a language that had a javascript like syntax and a lisp like…

I read about isomorf yesterday... it might be kinda like what you're looking for?

Possibly relevant blog post from Brian McKenna, too: https://brianmckenna.org/blog/polymorphic_programming

[1] https://isomorf.io/

Re: Show HN: Bato – A Filipino Programming Language

#16
post #4
post #2

Is it just Ruby with Filipino words?

A language with Internationalized keywords would be pretty dope.

I don't know, for me as a non-native speaker the words in a programming language are just memorised tokens, they could just as well be symbols or emojis. The bigger deal is libraries and documentation. For instance Microsoft is attempting to localise all their SDK documentation, and at least for German it's a nightmare, either the translations are done by non-technical people, or algorithms, sometimes the information is twisted in a way that reads like correct German, but doesn't contain any useful information, or is even plain wrong.

Re: Show HN: Bato – A Filipino Programming Language

#17
post #2

Is it just Ruby with Filipino words?

Even if it is, this might be the first time I've seen a programming language that isn't based in English (aside from the more esoteric Brainfuck-esque languages for code golfing).

At my school days in 1980s we used to write programs using RAPIRA (russian: РАПИРА) programming language on AGAT microcomputer. RAPIRA was an original programming language with Russian keywords. https://en.wikipedia.org/wiki/Rapira

Re: Show HN: Bato – A Filipino Programming Language

#18
post #4

Earlier quoted context omitted.

A language with Internationalized keywords would be pretty dope.

I don't know, for me as a non-native speaker the words in a programming language are just memorised tokens, they could just as well be symbols or emojis. The bigger deal is libraries and documentation. For instance Microsoft is attempting to localise all their SDK documentation, and at least for German it's a nightmare, either the translations are done by non-technical people, or algorithms, sometimes the information…

> they could just as well be symbols or emojis

I'm sure they will...

Re: Show HN: Bato – A Filipino Programming Language

#19
post #2

Is it just Ruby with Filipino words?

Tagalog speaker here. Yes, it is.

edit:

Bato -> stone.

Ang 'Bato Programming Language' ay isang scripting language sa wikang Filipino. -> The Bato programming language is a scripting language in the Filipino tongue (T/N: or more specifially, Tagalog).

---

More interestingly in the following section: Bakit Bato? -> Why call it Bato?

Ang 'bato' ay hango sa Ruby Programming Language na may Filipino sintaks. Ang kadahilanang ginamit ang pangalang 'bato' ay dahil ang Ruby ay isang uri ng bato. -> Bato is made with Ruby using Filipino syntax. The reason to use the word "Bato" as a name is because Ruby is a kind of stone.

Re: Show HN: Bato – A Filipino Programming Language

#20
The effort into this I must say (I speak as someone who came from the Philippines and knows the language by heart) is quite impressive.

But for someone who is used to coding in the English language and syntax, they may find some of the wordings harder to understand and apply.

Post reply on HN