I was studying the docs of PyTeal and I came across a problem (at least I see this as a problem). I cannot compute a loop (like I would do in normal Python with for or while). Is there a way to achieve this or this cannot be done yet with this language?
It’s not yet implemented in PyTeal: Add looping · Issue #72 · algorand/pyteal · GitHub
Most likely, it’s won’t be using Python loops though.
I see PyTeal as “syntactic sugar” over TEAL.
At the end, it really produces quite directly TEAL opcodes.
It’s not a full-blown compiler.
If you want something more high-level, you should consider https://reach.sh/