Skip to content

create a simple prototype / proof of concept #2

@craftoid

Description

@craftoid

I just drew a litte map of how all the little bits and pieces that should make up the processing blocks universe:

processing-blocks-diagram

I think the first step would be to create a very simple prototype of the processing blocks tool, with only a few blocks and drawers.

To achieve this we need:

  • A Simple Language Spec XML (a stripped down version of the one included in OpenBlocks)
  • The OpenBlocks as JAR (No need to add to the complexity of the build process right now)
  • Translation Adapter that injects code into the Processing IDE (See Ardublocks for a working example)

I suggest we use this repo to create an OpenBlocks jar and dump it in our repo:
https://github.com/mikaelhg/openblocks/

Sample Language Spec:
https://github.com/mikaelhg/openblocks/blob/master/support/lang_def.xml

If it makes things easier we could also use the ArduBlock fork of OpenBlocks, which seems to have added support for language translations and pop-overs:
https://github.com/taweili/openblocks

The source code of ArduBlock shows how to create translation adapters for each code-block: https://github.com/taweili/ardublock

Since Arduino and the Processing IDE are 99% identical we could probably just dump the ArduBlock tool inside the Processing tool folder and see if it works ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions