forked from AbleOS/ableos
begin work on hblang2
This commit is contained in:
parent
883c01b2ba
commit
eff2a22018
5
sysdata/programs/hblang2/README.md
Normal file
5
sysdata/programs/hblang2/README.md
Normal file
|
@ -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.
|
||||||
|
|
11
sysdata/programs/hblang2/meta.toml
Normal file
11
sysdata/programs/hblang2/meta.toml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[package]
|
||||||
|
name = "hblang2"
|
||||||
|
authors = [""]
|
||||||
|
|
||||||
|
[dependants.libraries]
|
||||||
|
|
||||||
|
[dependants.binaries]
|
||||||
|
hblang.version = "1.0.0"
|
||||||
|
|
||||||
|
[build]
|
||||||
|
command = "hblang src/main.hb"
|
5
sysdata/programs/hblang2/src/main.hb
Normal file
5
sysdata/programs/hblang2/src/main.hb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
stn := @use("stn")
|
||||||
|
|
||||||
|
main := fn(): int {
|
||||||
|
return 0
|
||||||
|
}
|
Loading…
Reference in a new issue