There’s a new visible programming language accessible, Scrap. It’s a free and open supply mission (GPL V3 licensed) that’s strongly impressed by the Scratch programming language, which was carried out utilizing the wonderful Raylib C/C ++ video games body. The large distinction between Scrap and Scratch is an method to superior customers and efficiency.
Key scrap variations from scratch embody:
- Quicker execution time (nonetheless quicker than turbowarp as a result of the scrap is interpreted for now)
- Essentially the most separate addition if, in any other case, blocks (the C-Finish blocks as I name them), which eliminates many nested checks with IF-Else blocks (that’s, a extra versatile variant of the IF-Else block!)
- The variables can have a lifetime, which avoids conflicts of variable names and permits non permanent variables
- Personalised blocks can return values ​​and can be utilized as an argument for an additional block
- A number of blocks of chain dealing with and Bitwise operator blocks
- Information sort conversion capabilities
- Strictest blocks for (() = ()) and (()! = ()). They’re now confidential and confirm the kind of knowledge in quest of equality
- The lists are actually a sort of knowledge as an alternative of a special sort of variable, this permits nesting lists inside an inventory (though it isn’t very handy at the moment)
- The code is executed in a separate thread. This solves some efficiency issues in comparison with Scratch
- Modularized interface. Many of the interface will be reorganized or moved to a different tab
SCRAP is on the market in Home windows and Linux.
Key hyperlinks
You may study extra about scrap within the video under.