hi,
can anyone explain the design and working of scratch compiler. i am going to give presentation about scratch programming language. i have questions about the compiler of this language.
1- design of its compiler?
2- working of its compiler? how it actually works (a simple example will be helpful).
3- how its compiler different from other languages like C/C++ or any other language.
4- is it really a compiler or an interpreter?
5- concrete Examples about the working of compiler is really needed.
Thanks in advance.
Offline
hi, scratch doesn't really get compiled in the same way as C and other languages since it has to be run in the scratch program itself,which is written in squeak!(smalltalk-80). i suppose the "compiling" could be saving scratch projects which you can find out more about here and here
and you can download the scratch source code to look through it yourself here
i know this probably isn't the answer that you were expecting but...
Offline