I don’t see how. A text-based code editor in Kodular would be great, even if the language were to be a scripting language specific to Kodular. While blocks can be created with a keyboard by typing it in, nothing beats the speed of pure text code.
It has been discussed and debated multiple times, and I for one look forward to having a text-based code editor in Kodular.
Blockly’s in-built JS generator isn’t of much use to us. Kodular apps are written in YAIL, with the components written in Java. So you’d still need a way to compile JS to YAIL. We’ll need a custom tokeniser/parser to work with the features you find in blocks that don’t exist in JS (for example, the local variable blocks)
Writing a custom parser, while not very hard from a technical perspective, does require us to make difficult design choices wrt how the text-based language will look.