DEV Community

loading...
The Hascal Programming Language

Introduction to Hascal Programming Language

bistcuite
Creator of Hascal programming language
・1 min read

Hascal is a simple, fast, powerful compiled language for developing systems, IoT and cloud projects.

Features :

  • Cross Platform (Linux, Windows, MacOS)
  • Fast & Powerful
  • C-Family Syntax, inspired by C, Swift, Pascal
  • Compiles to C++
  • It's written in Python
  • Native binaries with no dependency
  • Can program Arduino boards with Hascal
  • Built-In Lua Interpreter
  • Hawkai project manager(similiar to cargo in rust)

Examples

Hello World :

function main(): int {
  println("Hello World")
  return 0
}
Enter fullscreen mode Exit fullscreen mode

Run Lua Code :

import lua
function main(): int {
  RunLua("print 'hello from lua in hascal'")
  return 0
}
Enter fullscreen mode Exit fullscreen mode

Other details available in our github repo

Discussion (3)

Collapse
mellen profile image
Matt Ellen

The name is an interesting choice. When talking about it do you have to say "Hascal, not that one, ..."? Or do you pronounce it very differently to Haskell?

Collapse
bistcuite profile image
bistcuite Author

It's pronounced similar to Pascal

Collapse
mellen profile image
Matt Ellen

😁 so just like Haskell