Thanks for the feedback, it is important for me.
Every medal has two sides. LUA runs loops faster PHP, it is excellent, but this does not mean that LUA faster and better PHP in everything.
The magic words are uncomfortable and very slow when they are expressions.
{{ #vardefine: r | 0 }}{{ #vardefine: i | 0 }}{{
#while:
| {{ #ifexpr: {{ #var: i }} < 100 | true }}
| {{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}
{{ #vardefine: j | 0 }}
{{
#while:
| {{ #ifexpr: {{ #var: j }} < 1000 | true }}
| {{ #vardefine: j | {{ #expr: {{ #var: j }} + 1 }} }}
{{ #vardefine: r | {{ #expr: ({{ #var: r }} + ( {{ #var: i }} * {{ #var: j }} ) % 100 ) % 47 }} }}
}}
}}
I'm sure it will take more than 10 hours.
What is Scribunto?
It is a way to replace the slow expressions of magic words to one new word in which the expressions are very fast.
WMF sites has only a very slow expression of magic words or very fast expression in LUA.
Can WMF sites completely abandon expression of the magical words? If yes then magic expressions is not necessary.
What is magic expressions?
It is a way to make expression of magic words faster.
There is a huge gap between expressions of magic words and LUA, and magic expressions is compromise.
Magic expressions can be easy and fast enough.
What is LUA?
LUA is a fast hare, compared with the slow turtle magic expressions.
Can Turtle beat the hare? Using brute force, does not. Using the mind it is perhaps. (*mind of PHP and MWF developers)
Do WMF sites need magical expression?
I can not know.
Maybe yes or maybe there is another solution except Scribunto.
I know there are a lot smart people and they can make magic expressions better and faster than I can.
so I do not want to waste my time.
For me PhpTags solves another problem, but I saw that it could be useful for WMF sites too.
Perhaps this idea seems too stupid, probably because it is.
We must never be absolutely sure in everything.