flower-app
flower-app copied to clipboard
Customizing code generation
Users can change the indentation type:
- Using curly brackets to indicate the scope
- Placing
;
to the end of the line - Wrapping expression with
(
and)
inIF
andWHILE
statements.
In the generalized version,
- Exporting each block's code from a user-defined function.
- Block contents will be processed by this function.
- For each block, there should be a transform function
- For example, if user defines the function of store block as
out <text>;
then the output will beout "hello";
instead ofstore "hello"