Re:Show HN: I built an online programming language
by Vox_Leone on Thursday December 02, 2021 @12:18PM
(#29419132)
Great project. Congratulations.
I am also a pt_BR speaker. To be completely frank, I would say I'm more comfortable programming in English. In the “test” example, for instance, I wouldn't know which alias to use, whether 'verdadeiro' or 'verdade'. But it's pretty cool in English. Kudos
Re:Show HN: I built an online programming language
by SwiftyBug on Thursday December 02, 2021 @05:32PM
(#29423718)
I'd only choose "verdade" if its opposite is "mentira". Otherwise, I'd go with "verdadeiro", which goes better with "falso".
Re:Show HN: I built an online programming language
by sandes on Thursday December 02, 2021 @12:52PM
(#29419684)
Thank you!
Can you help me set the correct alias for each word in portuguese?
As a native speaker of Portuguese, I think it would look nicer the verbs were all in the same conjugation, simple present. You have "retornar" (return) which is in infinitive form and "escreva" write which is in the present imperative mode. I would choose to put all the verbs in the simple present:
retorna => return faz => do escreve => print
I couldn't find the Portuguese version for "break", but in my opinion it should be "quebra" or "interrompe".
If this project becomes open source, I'll be happy to contribute.