This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-06 16:31:57

drdave89
New Scratcher
Registered: 2012-03-23
Posts: 1

Converting or exporting from Scratch to other programming languages

Did I dream it or misremember but I thought there was a way to export programs written in Scratch to other languages such as Python.

Offline

 

#2 2013-01-06 16:59:52

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Converting or exporting from Scratch to other programming languages

Not that I know of - all "converters" made so far (I've seen .sb to .jar, .exe and .app) embed an .sb file with a Scratch player written in another language. It's far easier to do that than actually convert Scratch blocks to another kind of bytecodes or machine language.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#3 2013-01-06 17:13:19

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Converting or exporting from Scratch to other programming languages

You can read/write Scratch files using Python (I wrote a library for doing so, called Kurt).

It can also export the Scratch project to the "scratchblocks" code used on the forums, which might be the closest thing to what you're thinking of.


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

Board footer