Skip to content

Sacalon is a general purpose and open source programming language designed to build optimal, maintainable, reliable and efficient software.

License

Notifications You must be signed in to change notification settings

sacalon/sacalon

Repository files navigation

The Sacalon Programming Language

Website | Docs | Coding Style | Changelog | Roadmap

Sacalon Discord

Sacalon is a general purpose and open source programming language designed to build optimal, maintainable, reliable, and efficient software.

Important

  • Sacalon is still in the very early stages of development.

ReadMeSupportPalestine

Features

  • Easy to use and easy to learn
  • Multi-paradigm
  • Null safety by default
  • Fast and powerful
  • Inspired by Swift and Pascal(Sacalon is based on the most effective ideas of the Pascal language)
  • Manual memory management
  • Compiles to C++
  • Compatible with C\C++\Obj-C
  • Builtin compile-time FFI system
  • Built-in HTTP Library

Examples

Hello World :

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

HTTP Request:

use http
function main() : int {
    var content = get("https://www.google.com")
    print(content)
    return 0
}

Regex match:

use regex

function main() : int {
    var matched : bool = regex("subject","(sub)(.*)")
    print(matched) // Output : 1
    return 0
}

You can see more Sacalon examples in examples directory.

Documentation

You can find Sacalon's documentation, Here.

Contributions

You can contribute to Sacalon by opening an issue and forking the repository or contributing to Sacalon's documentation.

You can also join the Sacalon community on Gitter or Discord and ask & answer questions.

Alt

License

The compiler and standard libraries are licensed under the "3-Clause BSD License". Read the License for more information.

About

Copyright © 2019-2024 Sacalon Foundation,
all rights reserved.

forthebadge