Discuss Scratch
- Discussion Forums
- » Suggestions
- » Convert
- Haz-_-
-
500+ posts
Convert
Is there any way the scracth team could convert java scripts to scratch?


Last edited by Haz-_- (Jan. 9, 2018 07:19:28)
- Haz-_-
-
500+ posts
Convert
Exactly its slow so we need a faster one! But that would be slow

Last edited by Haz-_- (Jan. 9, 2018 08:03:26)
- Sigton
-
1000+ posts
Convert
But you can't make a compiler in Scratch.You can't really make a fast interpeter, but making a fast compiler (my first suggestion) is much easier.Exactly its slow so we need a faster one! But that would be slow
Sigton
- Sigton
-
1000+ posts
Convert
Thought I'd expand on that a bit. But you can't make a compiler in Scratch.
Sigton
A compiler turns a high level language, something that we can easily read and use, into machine code; instructions that can be directly run by the computers processor. So a compiler creates another program that can be run directly, without another program reading the code (an interpreter). Now, in Scratch, the equivalent would be a program that turns instructions into its own Scratch project which isn't possible.
Technically, this doesn't bean relevance to the OP; since they are wanting JS converted to Scratch. This couldn't be achieved properly with an interpreter or compiler (made in Scratch, ones made in other programming languages may work.)
Sigton
- Discussion Forums
- » Suggestions
-
» Convert