Sugar Labs

Music Blocks: Export JavaScript

The Python version of Turtle Blocks has an export method for Python; in other words, your block program can be exported executable Python code. This is meant to provide scaffolding to those wishing to make the transition from a block language to a text language.

The purpose of this task is to investigate how we might do something similar with JavaScript. What would a JavaScript version of a Music Block program look like? Presumably it would mean importing (requiring) the various libraries used by Music Blocks. But the JavaScript code should read like the block program so that it is obvious the connection between the two.

The deliverable for this task is a plan on how we might implement JavaScript export with some simple stand-alone JavaScript program example of what it might look like.

Task tags

  • javascript

Students who completed this task

Austin George

Task type

  • web Design
  • assessment Outreach / Research
close

2018