Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » llvm2scratch - C to Scratch compiler
- BigNate469
-
Scratcher
1000+ posts
llvm2scratch - C to Scratch compiler
I made a banner for llvm2scratch! See the first postThat looks awesome.
- nembence
-
Scratcher
1000+ posts
llvm2scratch - C to Scratch compiler
The next issue is that the project.json uses 3.8MB out of the 5MB scratch allows uploading for. I made some tweaks to the serializer to get it down to 1.8MB. This could be further reduced by simplifying the names of variables and procedures to smaller ones, as well as initializing the global variables from a list rather than with blocks.Variable names can be omitted from the variable blocks. As long as they have the right variable IDs, Scratch finds out the variable names (also works with list blocks).
- Discussion Forums
- » Advanced Topics
-
» llvm2scratch - C to Scratch compiler