Til innholdet

Esperanta Programlingvo - First try

fra Pharoah,2009 8 2

Meldinger: 36

Språk: English

Rogir (Å vise profilen) 2009 8 6 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 (Å vise profilen) 2009 8 6 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 (Å vise profilen) 2009 8 7 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 (Å vise profilen) 2009 8 10 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 (Å vise profilen) 2009 8 10 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 (Å vise profilen) 2009 8 10 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 (Å vise profilen) 2009 8 11 17:29:29

AlexN (Å vise profilen) 2011 8 31 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 (Å vise profilen) 2011 8 31 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 (Å vise profilen) 2011 9 1 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...

Tibake til toppen