diff --git a/sysdata/programs/hblang2/README.md b/sysdata/programs/hblang2/README.md new file mode 100644 index 000000000..76c4c85b0 --- /dev/null +++ b/sysdata/programs/hblang2/README.md @@ -0,0 +1,5 @@ +# hblang² +The hblang² or hblang2 compiler is intended to compile hblang to hbvm bytecode while also being written in hblang. + +This is the first step in bootstrapping ableOS. + diff --git a/sysdata/programs/hblang2/meta.toml b/sysdata/programs/hblang2/meta.toml new file mode 100644 index 000000000..44ac57dea --- /dev/null +++ b/sysdata/programs/hblang2/meta.toml @@ -0,0 +1,11 @@ +[package] +name = "hblang2" +authors = [""] + +[dependants.libraries] + +[dependants.binaries] +hblang.version = "1.0.0" + +[build] +command = "hblang src/main.hb" diff --git a/sysdata/programs/hblang2/src/main.hb b/sysdata/programs/hblang2/src/main.hb new file mode 100644 index 000000000..8401ebbc9 --- /dev/null +++ b/sysdata/programs/hblang2/src/main.hb @@ -0,0 +1,5 @@ +stn := @use("stn") + +main := fn(): int { + return 0 +}