Skip to content

Haumea is an experimental language designed to be simple and easy to learn and program in.

License

Notifications You must be signed in to change notification settings

haumea-lang/haumea-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b50ebe1 · Oct 2, 2017

History

78 Commits
Nov 4, 2016
Oct 1, 2017
Oct 1, 2017
Nov 2, 2016
Oct 31, 2016
Nov 4, 2016
Oct 18, 2016
Oct 26, 2016
Nov 6, 2016
Nov 12, 2016
Nov 1, 2016
Oct 28, 2016
Oct 28, 2016
Oct 28, 2016

Repository files navigation

Haumea

Join the chat at https://gitter.im/haumea-lang/Lobby Build Status

Haumea is an experimental language designed to be easy to learn and use.

Using

First, make sure that you have Rust and Cargo installed. Then, simply clone this repo-

$ git clone https://github.com/BookOwl/haumea.git

-and just use the following to run the Haumea compiler, where hello.hau is your Haumea program. (This will compile the Haumea source, if required, compile hello.hau, use cc to compile the result, and finally run the binary.)

$ make do file=hello.hau

# or if that doesn't work:

$ cargo build
$ ./target/debug/haumea < hello.hau > out.c
$ cc out.c -o out
$ ./out

Example programs

Here is an example program that calculates factorials:

to factorial with (n) do
    if n = 0 then do
        return 1
    end
    else do
        return n * factorial(n - 1)
    end
end

to main do
    display(factorial(5))
end

Find a bug, or want to request a feature?

Please create an issue with your bug report or pull request.

Haumea reference.

Please check out the wiki for the Haumea reference and a tutorial.

License

Haumea is released under the MIT license. Please see LICENSE.txt for details.

Credits

@BookOwl - Created the langauge

@nanalan - Made an amazing logo

Many other people who have helped with design decisions

About

Haumea is an experimental language designed to be simple and easy to learn and program in.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages