DRAKON.SU
https://forum.drakon.su/

DrakonLUA and DrakonJS
https://forum.drakon.su/viewtopic.php?f=62&t=6928
Страница 1 из 1

Автор:  Luke Alan [ Среда, 18 Ноябрь, 2020 11:15 ]
Заголовок сообщения:  DrakonLUA and DrakonJS

Is there any explanation or documentation, even in Russian, for DrakonLua and DrakonJS, which use a unified syntax?

Using the examples, I was able to decipher some things, but much was left out.

For example, there is no explanation that you can use indentation for function calls without parentheses or commas.
There is no documentation that `foreach a; b` works in loop icons but it does work.

I have been using and maintaining a lua and javascript codebase separately for 8 months! Now I realize I can write in one syntax and have to refactor all of it... It's nice but should be documented!

Автор:  Владимир Паронджанов [ Среда, 18 Ноябрь, 2020 14:35 ]
Заголовок сообщения:  Re: DrakonLUA and DrakonJS

Автоперевод на русский
Цитата:
Есть ли какие-либо объяснения или документация, даже на русском языке, для DrakonLua и DrakonJS, использующих единый синтаксис?

Используя примеры, я смог кое-что расшифровать, но многое было упущено.

Например, нет объяснения, что вы можете использовать отступ для вызовов функций без скобок или запятых.
Нет документации, в которой говорилось бы, что `foreach a; b` работает с иконками цикла, но это действительно работает.

Я использую и поддерживаю кодовую базу lua и javascript отдельно в течение 8 месяцев! Теперь я понимаю, что могу писать в одном синтаксисе и все это нужно реорганизовать ... Это хорошо, но должно быть задокументировано!

Автор:  Владимир Паронджанов [ Среда, 18 Ноябрь, 2020 18:52 ]
Заголовок сообщения:  Re: DrakonLUA and DrakonJS

Luke Alan писал(а):
Is there any explanation or documentation, even in Russian, for DrakonLua and DrakonJS, which use a unified syntax?
I've asked Stepan Mitkin to answer you

Автор:  Luke Alan [ Пятница, 20 Ноябрь, 2020 20:09 ]
Заголовок сообщения:  Re: DrakonLUA and DrakonJS

Found a problem in DrakonLua
Код:
print(...)
print
    ...


the indentation syntax does not work with
Код:
...
which is valid lua for variable number of arguments.

Автор:  Владимир Паронджанов [ Суббота, 21 Ноябрь, 2020 08:19 ]
Заголовок сообщения:  Re: DrakonLUA and DrakonJS

As Stepan Mitkin is silent I ask you:
please, speak about this problem as if you are CEO and give us your authority decision, as the documentation or specification project
i.e. not as a question but as the definite answer.

Your point of view is very important
It is desirable that your decision should be carefully formulated.

Страница 1 из 1 Часовой пояс: UTC + 3 часа
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/