[Sugar-devel] Export functionality of MusicBlocks code

Walter Bender walter.bender at gmail.com
Thu Mar 19 08:30:00 EDT 2020


On Thu, Mar 19, 2020 at 3:48 AM Rahul kohli <kohli6010 at gmail.com> wrote:

> Since the end result is going to be displayed on the browser I don't need
> to create an AST and if that so we don't need any AST generating module am
> I right, sir Walter bender and also do we need to export the entire
> interface or just a canvas with blocks in it.
>

Yes. But one of the goals is to expose the user to JavaScript. The theory
is that by seeing how a JavaScript version of the block code looks, they'll
eventually graduate from Music Blocks to a text-based language. So the code
should be structured in a way that makes it obvious the mapping between
what they did on the screen and what the JS looks like.


> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
<http://www.sugarlabs.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200319/6589c1ec/attachment.htm>


More information about the Sugar-devel mailing list