Adds a hello_world example to Leo

This commit is contained in:
howardwu 2020-05-16 19:22:06 -07:00
parent dd740070f0
commit 0a34693bae
3 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,7 +1,4 @@
/target
**.idea/
Leo.toml
src/
inputs/
outputs/
*.DS_Store

View File

@ -0,0 +1,3 @@
[package]
name = "hello_world"
version = "0.1.0"

View File

@ -0,0 +1,5 @@
// The 'hello_world' main function.
function main() -> u32 {
let a = 1 + 1;
return a
}