Hascal

Hascal is a general purpose and open source programming language designed to build optimal, maintainable, reliable and efficient software.

Getting Started » Install Hascal

Latest release : v1.3.10

function main() : int {
    var texts : [string] = [
        "Hello, world!",
        "سلام دنیا!",
        "¡Hola Mundo!",
        "Γειά σου Κόσμε!",
        "Привет, мир!",
        "こんにちは世界!"
    ]
    for text in texts {
        print(text)
    }
    return 0
}
                        
More examples...

Simple and Easy Language

Hascal has a simple and easy syntax and a small standard library, you can learn Hascal in less than an hour!
Hascal is very similar to Swift and was originally based on the good ideas of the Pascal language.

Safe and reliable

Hascal uses a Null safety system to prevent NULL data errors to increase the security and stability of applications.
By default, Hascal requires you to select a value for your variable and constants (at declaration) to ensure that there is no NULL data in the program.

Manual memory management

Hascal uses manual memory management and gives you the freedom to act against memory but guides you in manual memory management when compiling(WIP).

Use Hascal every where!

Hascal is cross platform, meaning it can run on any platform, from Linux and Windows to embedded systems!
The Hascal can call C++ code, and it is possible to call Hascal code in any language that can be able to cooperate with C++ code.



The Hascal Foundation

The Hascal Foundation is an open-source foundation was created in 2021 to fund long term Hascal development.

Learn More