.SCALE File Extension
Scale Source Code
3.0 | 2 Votes
What is an SCALE file?
A SCALE file contains source code written in the Scale programming language. The code a SCALE file contains is meant to be compiled to C source code, using the source-to-source Scale compiler.
The Scale programming language, developed by GitHub user StonkDragon, is inspired by Porth (.PORTH) and Lua (.LUA). It is a procedural, object-oriented, concatenative, and stack-oriented language.
Developers save Scale source code in SCALE files. These files contain some number of Scale functions. There is no compiler that converts SCALE files to machine code. Instead, the Scale compiler converts SCALE files to C code, which can then be included in C programs.
How to open an SCALE file
You can open and edit a SCALE file with Microsoft Visual Studio Code (multiplatform) or any other source code or text editor. You can use the Scale compiler (macOS, Linux) to compile a SCALE file to C code.