Sacalon
Sacalon is a general purpose and open source programming language designed to build optimal, maintainable, reliable and efficient software.
Getting Started » Install SacalonLatest release : v1.4.1
// manual memory management example in Sacalon
struct point {
var x : int?
var y : int?
}
function main() : int {
// declaring and allocating `foo` in heap
var foo : point^ = new point(point(10,10))
// printing `foo` contents
print(^foo) // Output: point(x:10,y:10)
// reallocate `foo`
foo = new point(point(20,20))
print(^a)
// deallocate `foo` from heap at end of function scope
delete foo
return 0
}
More examples...
Simple and Easy Language
Sacalon has a simple and easy syntax and a small standard library, you can learn Sacalon in less than a hour!
Sacalon is very similar to Swift and it was originally based on the good ideas of the Pascal language.
Safe and reliable
Sacalon uses a null safety system to prevent null data errors to increase the security and stability of applications.
By default, Sacalon 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
Sacalon uses manual memory management and gives you the freedom to act against memory but guides you in manual memory management when compiling(WIP).
Use Sacalon every where!
Sacalon is cross platform, meaning it can run on any platform, from Linux and Windows to embedded systems!
The Sacalon can call C++ code, and it is possible to call Sacalon code in any language that can be able to cooperate with C++ code.
The Sacalon Foundation
The Sacalon Foundation is an open-source foundation was created in 2021 to fund long term Sacalon development.
Learn More