tangled
alpha
login
or
join now
stau.space
/
hare-rope
0
fork
atom
Rope data structure implementation in Hare.
0
fork
atom
overview
issues
pulls
pipelines
feat(source): Created sample program.
Diego Estrada
2 years ago
3c2fa926
fba98b6d
+21
3 changed files
expand all
collapse all
unified
split
.gitignore
Makefile
src
main.ha
+4
.gitignore
···
1
1
+
build/*
2
2
+
3
3
+
*.o
4
4
+
*.out
+12
Makefile
···
1
1
+
BUILD = build/
2
2
+
SRC = src/*.ha
3
3
+
4
4
+
run: $(MAIN)
5
5
+
hare run src/main.ha
6
6
+
7
7
+
build: $(BUILD)/a.out
8
8
+
9
9
+
$(BUILD)/a.out: src/main.ha
10
10
+
hare build -o $(BUILD)/a.out $(SRC)
11
11
+
12
12
+
.PHONY: run
+5
src/main.ha
···
1
1
+
use fmt;
2
2
+
3
3
+
export fn main() void = {
4
4
+
fmt::println("Hello world!")!;
5
5
+
};