Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.
/ v1.3.1 Public archive

An archived version of hascal before switch to new backend

License

Notifications You must be signed in to change notification settings

sacalon/v1.3.1

Repository files navigation

The Hascal Programming Language

Website | Docs | Gitter | LinkedIn

Hascal is a general-purpose open source programming language that makes it easy to build simple,optimal, reliable, and efficient software.

NOTE: Hascal is currently under development.

Features

  • Cross Platform (Linux, Windows, MacOS, BSD)
  • Fast & Powerful
  • Easy to learn
  • C-Family syntax, inspired by Swift, TypeScript
  • Compiles to binary with dmd
  • Native binaries with no dependency
  • Garbage Collection and Manual Memory Allocation
  • Compatible with D\C\C++\Objective C

Examples

Hello World :

function main() : int {
    print("Hello World!")
    return 0
}

Read from stdin :

function main() : int{
    print("Enter your name :")
    var name = ReadStr()
    print("Hi,",name)
    return 0
}

HTTP Response :

use http

function main(): int {
    print(get("google.com"))
    return 0
}

System Command :

use os

function main() : int {
    system("gcc --version")
    return 0
}

You can see more Hascal examples in examples folder.

Documentation

You can find documentations on installation and using Hascal, Here

Build from source

See build help page

Contributions

Any contribution is welcome :)

graph

License

The compiler and the standard libraries are licensed under the "GNU general public license v3", Read the License for more details.

About

Copyright ©2019-2022 Hascal Foundation,
all rights reserved.

forthebadge

About

An archived version of hascal before switch to new backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published