Skip to content

Vasniktel/helium-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helium programming language

take a deep breath


This repo is a home for the Helium programming language. It is still in its early development.

The language features:

  • static typing
  • AOT compilation to bytecode
  • expression-based syntax
  • TODO

Examples

Disclaimer

Everything in this section is still only a concept and is subject to change in the future

  • Hello world
println("Hello world")
  • Range from 1 to 10
for (i, val : indexed(1 .. 10)) println(val)
  • Fibonacci
fun fib(n: Int): Int {
    if (n <= 1) 1 else fib(n - 1) + fib(n - 2)
}
  • Variables
var f = 4
var f: Int = 4
var k, p: Int = (3, 4)

TODO

About

Compiler for the Helium programming language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published