Hascal is a general purpose and open source programming language designed to build optimal, maintainable, reliable and efficient software.
Features
- Simple and easy to learn
- Fast and powerful like C++
- Inspired by Swift and Pascal
- C++ on backend
- Compatible with C\C++
- Strongly typed
Examples
Hello World :
function main() : int {
print("Hello World!")
return 0
}
Formatting Strings :
function main() : int {
var name = ReadStr("Enter your name :")
var fmt_str = format("Hi,{}",name)
print(fmt_str)
return 0
}
HTTP Response :
use http
function main(): int {
print(get("http://example.com"))
return 0
}
Our GitHub repository for more information
If you interested in Hascal, star hascal's repo on GitHub
Any contribution is welcome!
Top comments (0)