Skip to content

About ScratchBloks ⇄ XML #26

@NeuronPulse

Description

@NeuronPulse

Description:
ScratchBlocks makes it as easy to write blocks as it is to talk. However, Blockly relies on XML. In Blockly, we can:

Convert XML into blocks in the workspace

Generate XML from blocks in the workspace

If we could also convert ScratchBlocks into XML, then we would be able to write real Scratch programs directly in text.

Use case / Motivation:
This would allow developers and educators to quickly prototype Scratch programs in a text form and then run them in a Scratch-compatible environment.

Expected behavior:

Input: ScratchBlocks text

Output: Equivalent XML representation

Result: The XML can be imported into the workspace as runnable Scratch code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions