A general purpose and open source programming language designed to build optimal, maintainable, reliable and efficient software. Easy to learn, powerful to use.
Simple, elegant syntax inspired by Swift and Pascal
use crypto.sha256
function main(argv : [string]) :int {
if len(argv) == 2 {
var data : string = argv[0]
var hash : string = generate_sha256(data)
print(hash)
} else {
print("Usage: sha256 \"<string>\"")
return 1
}
return 0
}
function fibonacci(n:float) : float {
if n <= 1 {
return n
} else {
return fibonacci(n-1) + fibonacci(n-2)
}
return 0
}
function main() : int {
var numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
for n in numbers {
print(fibonacci(n))
}
return 0
}
See what developers are creating with Sacalon
Built with modern software development in mind
Join our growing community and help shape the future of Sacalon
Connect with fellow Sacalon developers around the world
Join the growing community of developers building with Sacalon