К содержанию

Esperanta Programlingvo - First try

от Pharoah, 2 августа 2009 г.

Сообщений: 36

Язык: English

russ (Показать профиль) 1 сентября 2011 г., 6:12:01

AlexN:
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.
APL WAS an influential language back when far fewer programming languages existed and it was a pioneering idea, but its days of prominence have long since passed. (As the wikipedia article says, "Interest in APL has steadily declined since the mid 1980s.") Its dependence on unusual unfamiliar non-ASCII characters as basic elements of syntax is surely one reason it's not widely popular. But indeed its symbols are certainly more easily distinguishable and learnable than Chinese ideograms (for those who already don't know them).

(And both character sets present keyboard/typing and display/printing challenges on many computers.)

qwertz (Показать профиль) 3 октября 2011 г., 13:12:31

Maybe someones is interested at this: Programisto estas serĉata?

Jev is some kind of chief programming organizer of lernu.net and edukado.net webpage.

Neodivert (Показать профиль) 19 июля 2012 г., 12:06:39

Maybe im crazy, but i suppose the project is dead, isn't it? lango.gif
The idea of creating a interpreted EO-language came to my mind too and i found this post. I dont know if i'll try it or not.

BTW why the idea of a "esperanta programlingvo" was posted in an English forum? lango.gif

Bemused (Показать профиль) 1 августа 2012 г., 7:11:10

Brilliant idea. As one of those who used BASIC as a stepping stone to COBOL I can see the value of a simple programming language to introduce people to the concepts of programming. All the best with your endeavor. The fact that this is a project IN Esperanto rather than ABOUT Esperanto makes it even more worth while.

AlexN (Показать профиль) 1 августа 2012 г., 10:39:20

Neodivert:Maybe im crazy, but i suppose the project is dead, isn't it? lango.gif
Look like it is dead.

Neodivert:BTW why the idea of a "esperanta programlingvo" was posted in an English forum? lango.gif
Because other languages (with known exceptions) were derived from Engish.

What I think:
1. Collections. It is possible to use -j or -ar- suffixes for classes. Example:

klaso Uzanto estas
... //

var u: Uzanto;
uu: Uzantoj;
...
uu.aldoni(u); // ?aldonu?

2. Reflection. Thanks to the regular grammar of Esperanto it is possible to create a complete self-documenting system of classes and member names.

3. Adjectives (a-vortoj). Everything ending with -a could be a part of the namespace of adjectives. Instead of writing

enum COLOR {red, green, yellow};

it is possible to use just ruĝa, verda, flava without any declaration (is it really good idea?)

tositaka (Показать профиль) 1 августа 2012 г., 13:56:31

I think, a more practical way to Esperanta Programlingvo is to make a preprocessor. I ever tried to create a preprocessor which converts source programs written in Japanese into official source programs C, Java, etc. (just for fun)

Наверх