본문으로

Esperanta Programlingvo - First try

글쓴이: Pharoah, 2009년 8월 2일

글: 36

언어: English

Rogir (프로필 보기) 2009년 8월 6일 오후 5: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 (프로필 보기) 2009년 8월 6일 오후 6: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 (프로필 보기) 2009년 8월 7일 오전 2: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 (프로필 보기) 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 (프로필 보기) 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 (프로필 보기) 2009년 8월 10일 오후 1: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 (프로필 보기) 2009년 8월 11일 오후 5:29:29

AlexN (프로필 보기) 2011년 8월 31일 오전 9: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 (프로필 보기) 2011년 8월 31일 오후 5: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 (프로필 보기) 2011년 9월 1일 오전 5: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...

다시 위로