Merkuriy
An experimental functional language combining features of Rust, C, and Haskell.
use std.[IO fmt]
main :: io: IO () -> IO () =
io.print ("Hello, {}!".fmt language())
language :: () -> String = "Merkuriy"
An experimental functional language combining features of Rust, C, and Haskell.
use std.[IO fmt]
main :: io: IO () -> IO () =
io.print ("Hello, {}!".fmt language())
language :: () -> String = "Merkuriy"
Install the HG compiler, make a .hg file, compile with hgc build test.hg -p core -p std and run the executable.