Scrap – block based programming language

Scrap is a new block based programming language with the aim towards advanced users.

It is written in pure C and mostly inspired by other block based languages such as Scratch and its forks such as Turbowarp.

This is free and open source software.

Enhancements over Scratch:

  • (LLVM only) Faster runtime. The speed is achieved using compilation through LLVM.
  • The addition of separate else if, else blocks (C-end blocks as i call them), which eliminates a lot of nested checks with if-else blocks (i.e. more flexible variant of if-else block in Snap!)
  • Variables can have a lifetime, which avoids variable name conflicts and allows to make temporary variables.
  • Custom blocks can return values and can be used as an argument for other block.
  • Various string manipulation blocks and bitwise operator blocks.
  • Data type conversion functions.
  • More strict checks for [[] = []] and [[] != []] blocks. Now they are case sensitive and will check data type for equality.
  • Lists are now a data type instead of a different type of variable, this allows nesting lists inside a list.
  • The code runs in a separate thread. This solves some performance issues compared to Scratch.
  • Modularized interface. Most of the interface can be rearranged or moved to another tab.
  • (LLVM only) Standalone builds. Scrap projects can be built and run as native executables without significant runtime overhead.

Website: github.com/Grisshink/scrap
Support:
Developer: Grisshink
License: zlib License

Scrap screenshot

Scrap is written in C. Learn C with our recommended free books and free tutorials.


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted