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

#1 2009-01-10 07:39:06

djmoomoo
Scratcher
Registered: 2007-08-31
Posts: 57

Scratch to C/VB/C++/ObjC Translator

Maybe someone *cough* *MIT* *cough* could develop a Scratch translator, so that one could export their scratch projects to .app/.exe  programs?

First you would create a scratch to text program, then suitably edit it and so, and then run it through an open source inbuilt BASIC/C compiler. FB^3 have done this with C, so maybe this could be a possibility in Scratch??

If one were translating in a mac to C/Cpp/ObjC, then you could open the file in Xcode and create a Nib file for it, and putting the scratchfile in a Custom View.  As mentioned previously, Future BASIC have done a translator, which translates their code into C, and then opens that C Xcode project.

I would certainly like to export .app files, so I can share them with my friends, and If one were making a C/ObjC/Cpp/Windows/ application, then I could embed the Custom quartz view into it.

I'm not sure about windoze, as it doesn't seem to have a standard IDE. VB, Perhaps?

Last edited by djmoomoo (2009-01-10 07:39:30)


There are 0011 types of people, those that can count in binary and those that can't.

Offline

 

#2 2009-01-21 06:09:21

ebbwboy
Scratcher
Registered: 2009-01-21
Posts: 2

Re: Scratch to C/VB/C++/ObjC Translator

yes yes yes please! That would be great!

Offline

 

#3 2009-02-08 22:23:32

vikaros
Scratcher
Registered: 2007-06-04
Posts: 100

Re: Scratch to C/VB/C++/ObjC Translator

You might be interested in the DiscScratchr that JSO and Jens have worked on:
http://scratch.mit.edu/forums/viewtopic.php?id=5468

And a little easter egg that might be of interest.  If you hold the shift key when clicking the Extra menu you'll find you can export a copy of all the code blocks from your project in a text format.  If you are up for creating a compiler that can translate from this text into another language let us know!

Offline

 

#4 2009-02-17 09:45:07

abeair
Scratcher
Registered: 2008-07-19
Posts: 100+

Re: Scratch to C/VB/C++/ObjC Translator

DiskScratchr is only for windows! We want a mac converter.


http://dragcave.net/image/NPtA.gif
http://www.danasoft.com/sig/ObamaLovesMacs.jpg

Offline

 

#5 2009-02-17 11:10:16

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Scratch to C/VB/C++/ObjC Translator

here is a windows single file one http://www.chirp.scratchr.org/


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

Board footer