8000 GitHub - dal-lang/dal: Dal is a general-purpose programming language designed to be simple yet powerful.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ dal Public

Dal is a general-purpose programming language designed to be simple yet powerful.

License

Notifications You must be signed in to change notification settings

dal-lang/dal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dal Logo

Dal is a general-purpose programming language designed to be simple yet powerful. It is a statically typed language with a focus on performance and simplicity. It is designed to be easy to learn and use.

Warning
This project is still in early development and is not ready for production use.

build CircleCI

Beautiful Syntax

Dal syntax is rust-like and easy to read.

import "std/io"

pub fn main() {
    io.println("Hello, World!")
}

Generics

Generics allow you to write code that works for any data type.

fn sum[T](a: T, b: T) -> T {
return a + b
}

pub fn main() {
    io.println(sum(1, 2))
    io.println(sum(1.0, 2.0))
}

Link to C

Dal can link to C library and use it in your code.

@link("c")
extern {
    pub fn printf(__fmt: *const *const u8, ...) -> i32
}

pub fn main() {
    printf("Hello, World!\n")
}

Read more about Dal in the documentation.

Contributing

Dal is an open source project and contributions are welcome. If you want to contribute, please read the contributing guide.

License

Dal priority is to serve and help the community to build amazing things. That's why Dal using the most liberal license possible, the MIT license.

About

Dal is a general-purpose programming language designed to be simple yet powerful.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

0