Shop OBEX P1 Docs P2 Docs Learn Events
Blocky for Propeller? — Parallax Forums

Blocky for Propeller?

RaymanRayman Posts: 14,659
edited 2014-01-29 05:21 in Propeller 1
Was surfing for graphical programming tools...

One thing that caught my eye was blocky:
https://code.google.com/p/blockly/

It looks a lot like 12blocks...

There's a "Blocky and Espruino" project that appears to allow programming of Arduino with it:
Blockly and Espruino - Graphical Programming for Microcontrollers.

Does this look like it could be adapted for Propeller?
Would it be any different than 12blocks?

Comments

  • jazzedjazzed Posts: 11,803
    edited 2014-01-28 13:25
    I've looked at it some including ripping this.

    I'm not crazy about all the little doodads required to make something work. Some people like it though.
  • JonnyMacJonnyMac Posts: 9,107
    edited 2014-01-28 13:50
    Would it be any different than 12blocks?

    It's open source and a web app, which has some attractiveness.

    I was looking at it as a possible tool for EFX-TEK customers programming our Prop-1 (BS1) controller. Am very busy now, so I didn't get passed the looking at it stage.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-01-28 14:01
    I looked at it for the S2. It doesn't use HTML5; it requires Flash.

    -Phil
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2014-01-28 14:20
    Does this look like it could be adapted for Propeller?

    That sounds interesting. I like the way you don't need a keyboard to code. Would be perfect for the touchscreens we have working on the propeller. One could think of a self hosting compiler. I think sphinx has a compiler that runs on the propeller, so one could think about a comverter from blocky to spin.
    eg blocky
    if get count > 100
      set count 200
    
    both could translate to spin by just changing a few characters.
    It would be kind of cool to have a language you could run/compile on both a PC and self hosted on a propeller too.
  • RaymanRayman Posts: 14,659
    edited 2014-01-28 15:47
    I looked at it for the S2. It doesn't use HTML5; it requires Flash.

    -Phil

    I just did a demo on my iPhone, so I don't think that can be...
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-01-28 18:09
    Rayman wrote:
    I just did a demo on my iPhone, so I don't think that can be...
    My bad. I was thinking of MIT's Scratch.

    -Phil
  • MacTuxLinMacTuxLin Posts: 821
    edited 2014-01-28 22:41
    Thanks for posting. I, too, was looking around for an easy block-type tools for high-school students. Think I might take a stab at this....
  • RaymanRayman Posts: 14,659
    edited 2014-01-29 05:21
    The website calls blocky a "language generator" instead of a "programming language".

    It appears that it includes support for generating Python, JavaScript, and XML directly from the graphical elements.

    Maybe it wouldn't be too hard to get it to spit out Spin or C++ instead...
Sign In or Register to comment.