An open API service indexing awesome lists of open source software.

https://github.com/trinnguyen/gao

The Gao programming language
https://github.com/trinnguyen/gao

compiler gao gao-lang llvm rust

Last synced: about 2 months ago
JSON representation

The Gao programming language

Awesome Lists containing this project

README

          

# .gao
The Gao programming language

## Getting started
### Hello world

```rust
fn main(): int {
return bar(1);
}

fn test(): int {
let y: bool = false;
let x: int = 101;
y = true;
x = 201;
foo();
bar2(1, false);
return bar(x);
}

fn foo(): bool {
let x: int = 102;
let y: bool = false;
return y;
}

fn bar(a1: int): int {
return 1;
}

fn bar2(a1: int, a2: bool): bool {
return false;
}
```