Đi đến phần nội dung

Esperanta Programlingvo - First try

viết bởi Pharoah, Ngày 02 tháng 8 năm 2009

Tin nhắn: 36

Nội dung: English

Rogir (Xem thông tin cá nhân) 17:58:30 Ngày 06 tháng 8 năm 2009

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 (Xem thông tin cá nhân) 18:10:25 Ngày 06 tháng 8 năm 2009

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 (Xem thông tin cá nhân) 02:04:10 Ngày 07 tháng 8 năm 2009

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 (Xem thông tin cá nhân) 11:38:03 Ngày 10 tháng 8 năm 2009

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 (Xem thông tin cá nhân) 12:52:12 Ngày 10 tháng 8 năm 2009

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 (Xem thông tin cá nhân) 13:13:19 Ngày 10 tháng 8 năm 2009

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 (Xem thông tin cá nhân) 17:29:29 Ngày 11 tháng 8 năm 2009

AlexN (Xem thông tin cá nhân) 09:07:44 Ngày 31 tháng 8 năm 2011

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 (Xem thông tin cá nhân) 17:19:45 Ngày 31 tháng 8 năm 2011

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 (Xem thông tin cá nhân) 05:59:43 Ngày 01 tháng 9 năm 2011

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...

Quay lại