DEV Community

bistcuite for The Hascal Programming Language

Posted on

Introduction to Hascal Programming Language

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

Top comments (3)

Collapse
 
mellen profile image
Matt Ellen-Tsivintzeli

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

It's pronounced similar to Pascal

Collapse
 
mellen profile image
Matt Ellen-Tsivintzeli

😁 so just like Haskell