_Please describe what should happen_
_Describe what actually happens_
_Explain what someone needs to do in order to see what's described in Actual behavior above_
_e.g. Mac OS 10.11.6 Safari 10.0_
convert them to java script, and then to python :blush:
But,i dont know how to convert them to javascript,Could you tell me more about it,millions of thanks
@ScratchDiogoh
@javascriptzpt I only know a few blocks for javascript, but you can refer to this guide:
https://en.wikipedia.org/wiki/JavaScript_syntax
who can help me?
@javascriptzpt You can refer to Generating Code
or take a look at my demo
@wwj718 我看到你的工程里“scratch-blocks_hello_world”这个项目,但我没找到生成代码的部分在哪里呀。
@javascriptzpt 生成代码的关键是自定定义generator
这部分和blockly文档没有差异,可以先读一些blockly的文档
We do not officially support "generators" with Scratch Blocks are rather encourage folks using our open source code to use the Scratch Virtual Machine available here:
https://github.com/LLK/scratch-vm