Sadržaj

Esperanta Programlingvo - First try

od Pharoah, 2. kolovoza 2009.

Poruke: 36

Jezik: English

Rogir (Prikaz profila) 6. kolovoza 2009. 17:58:30

Well, it's your language, so I guess that's up to you. But I wouldn't try to fit in the akuzativo if it's too much trouble.

Pharoah (Prikaz profila) 6. kolovoza 2009. 18:10:25

I'm a newbie to EO. I suppose that skribu-linion would be more correct since it means "write-line", right? It's just a grammar question I have.

ceigered (Prikaz profila) 7. kolovoza 2009. 02:04:10

Pharoah:I'm a newbie to EO. I suppose that skribu-linion would be more correct since it means "write-line", right? It's just a grammar question I have.
Ĝusta - skribu linion would be more grammatically correct. But because this is a programming language you might as well scrap the accusative lango.gif

And yay for hello world ridulo.gif

qwertz (Prikaz profila) 10. kolovoza 2009. 11:38:03

Would be nice to have an interpreter with an automatic help feature available like bpython has. So somebody could use excisting Python skills for learning esperanto.

Pharoah (Prikaz profila) 10. kolovoza 2009. 12:52:12

Interesting idea there qwertz, I've never seen that before. Definitely something to keep in mind for the javascript-based learning interpreter I'm planning.

By the way, the python version is about 2/3 done. I'm still tweaking the language a bit, that's why it's taking so long.

qwertz (Prikaz profila) 10. kolovoza 2009. 13:13:19

Pharoah:Interesting idea there qwertz, I've never seen that before. Definitely something to keep in mind for the javascript-based learning interpreter I'm planning.

By the way, the python version is about 2/3 done. I'm still tweaking the language a bit, that's why it's taking so long.
Furthermore, there's is a well discussed computer related vortaro: http://komputeko.net/ from the Ikso folks. May be, that can give you some proper eo translation ideas.

Ailanto (Prikaz profila) 11. kolovoza 2009. 17:29:29

AlexN (Prikaz profila) 31. kolovoza 2011. 09:07:44

This thread ended long time ago, but it is still interesting. Pharoah, did you succeed ?
BTW I think that Esperanto can be really useful for creation of computer languages. Simple (Simpla?) translation of reserved words is not a good idea, because anyone can learn 20 words and it does not matter which language they're in.

geo63 (Prikaz profila) 31. kolovoza 2011. 17:19:45

AlexN:This thread ended long time ago, but it is still interesting. Pharoah, did you succeed ?
BTW I think that Esperanto can be really useful for creation of computer languages. Simple (Simpla?) translation of reserved words is not a good idea, because anyone can learn 20 words and it does not matter which language they're in.
Sometimes the language matters:

#!/usr/bin/env zhpy
# 檔名: while.py
數字 = 23
運行 = 真
當 運行:
猜測 = 整數(輸入('輸入一個數字: '))

如果 猜測 == 數字:
印出 '恭喜, 你猜對了.'
運行 = 假 # 這會讓循環語句結束
假使 猜測 < 數字:
印出 '錯了, 數字再大一點.'
否則:
印出 '錯了, 數字再小一點.'
否則:
印出 '循環語句結束'
印出 '結束'

AlexN (Prikaz profila) 1. rujna 2011. 05:59:43

Sometimes the language matters:
Take a look at this page:

http://en.wikipedia.org/wiki/APL_%28programming_...

Do you see any difference ? BTW, APL is one of the most influential programming languages.

Also

http://en.tiraecol.net/modules/comic/comic.php?c...

Natrag na vrh