I build a meta online programming language, where you can define your own grammar ;-). See: <a href="https://fransfaase.github.io/ParserWorkshop/Online_inter_parser.html" rel="nofollow">https://fransfaase.github.io/ParserWorkshop/Online_inter_par...</a> An example grammar is found at the bottom of the page.
Very cool!<p>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:<p>retorna => return
faz => do
escreve => print<p>I couldn't find the Portuguese version for "break", but in my opinion it should be "quebra" or "interrompe".<p>If this project becomes open source, I'll be happy to contribute.
The french pseudo-code reminded me of my freshman year in Computer Science degree, so much nostalgia! Completely forgot about all that since then, but I wonder if using your mother tongue to learn programming is truly effective, especially in non-English speaking countries?
"Docs" is broken :) How can I learn about the language, aside from the examples?<p>This scratches a peculiar itch that I have which isn't <i>quite</i> addressed by other solutions (codepen, stackblitz, replit, etc). Can you import libraries at all?
Will you open source this? If yes, i would like to contribute another language.<p>Also, since this is supposed to be pseudocode, maybe it would be better to replace the atribution operator with something else, and the comparison operators with their math variants.
I built a similar (albeit less polished) javascript interpreted language as a lockdown project.<p><a href="https://github.com/raudius/homegrown" rel="nofollow">https://github.com/raudius/homegrown</a>