-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to create blocks from Python? #49
Comments
Having been down this road a few times before for a couple machine/human languages: while having syntactic sugar for individual languages is really good, the bigger Jupyter-level payoff is formalizing a static version of the block specification, the i10n, and the implementation pattern. I think the play here is to use #71's upgrade of blockly-9-with-better-typings to nail down, and lightly extend, the blockly JSON schema with
A couple different tools could then create and consume these from different places.
|
Potentially we could define some custom blocks from a Python script or from a Notebook if we use some decorators.
Something like:
The text was updated successfully, but these errors were encountered: