The Hascal Programming Language

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 bac…


This content originally appeared on DEV Community and was authored by bistcuite

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!


This content originally appeared on DEV Community and was authored by bistcuite


Print Share Comment Cite Upload Translate Updates
APA

bistcuite | Sciencx (2022-01-17T20:17:05+00:00) The Hascal Programming Language. Retrieved from https://www.scien.cx/2022/01/17/the-hascal-programming-language/

MLA
" » The Hascal Programming Language." bistcuite | Sciencx - Monday January 17, 2022, https://www.scien.cx/2022/01/17/the-hascal-programming-language/
HARVARD
bistcuite | Sciencx Monday January 17, 2022 » The Hascal Programming Language., viewed ,<https://www.scien.cx/2022/01/17/the-hascal-programming-language/>
VANCOUVER
bistcuite | Sciencx - » The Hascal Programming Language. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/17/the-hascal-programming-language/
CHICAGO
" » The Hascal Programming Language." bistcuite | Sciencx - Accessed . https://www.scien.cx/2022/01/17/the-hascal-programming-language/
IEEE
" » The Hascal Programming Language." bistcuite | Sciencx [Online]. Available: https://www.scien.cx/2022/01/17/the-hascal-programming-language/. [Accessed: ]
rf:citation
» The Hascal Programming Language | bistcuite | Sciencx | https://www.scien.cx/2022/01/17/the-hascal-programming-language/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.