GitHub repo xịn · Cộng đồng đề cử
mhieuhonda/halis-lang
Halis A secure, self-hosting, native-first programming language. Specification · Releases · Security · Contributing · LTS policy --- Why Halis Halis exists because of one belief: safety is not optional, and performance is not the price of safety.
Tóm tắt nhanh
Repo này làm được gì?
Halis A secure, self-hosting, native-first programming language. Specification · Releases · Security · Contributing · LTS policy --- Why Halis Halis exists because of one belief: safety is not optional, and performance is not the price of safety.
Mô tả từ GitHub
Memory safe systems language with effect tracking and native compilation
Bắt đầu với repo
Cài đặt và sử dụng
Hướng dẫn cài đặt
Requirements: `gcc` or `clang`, and `make`. That is the whole list.
git clone https://github.com/mhieuhonda/halis-lang.git
cd halis-lang
make bootstrap # ~20 s: cc builds the seed, HLS takes over
make run F=examples/hello.hls
make test # ok/ + fail/ corpus, differential, bootstrap
# determinism, LLVM, memory stress, fmt, lintDay-to-day commands: | Command | What it does | |---------|--------------| | `make run F=prog.hls` | Compile to C, build natively, run | | `make check F=prog.hls` | Type- and effect-check without running | | `make audit F=prog.hls` | Capability + taint-flow report of the program | | `make fmt` / `make lint` | Format and lint the tree | | `bin/hlc --emit llvm prog.hls out.ll` | Emit LLVM IR instead of C | | `make lto F=prog.hls` | Whole-program link-time optimisation, then run | | `make pgo` | Profile-guided build of the compiler itself |
Hướng dẫn sử dụng
Requirements: `gcc` or `clang`, and `make`. That is the whole list.
git clone https://github.com/mhieuhonda/halis-lang.git
cd halis-lang
make bootstrap # ~20 s: cc builds the seed, HLS takes over
make run F=examples/hello.hls
make test # ok/ + fail/ corpus, differential, bootstrap
# determinism, LLVM, memory stress, fmt, lintDay-to-day commands: | Command | What it does | |---------|--------------| | `make run F=prog.hls` | Compile to C, build natively, run | | `make check F=prog.hls` | Type- and effect-check without running | | `make audit F=prog.hls` | Capability + taint-flow report of the program | | `make fmt` / `make lint` | Format and lint the tree | | `bin/hlc --emit llvm prog.hls out.ll` | Emit LLVM IR instead of C | | `make lto F=prog.hls` | Whole-program link-time optimisation, then run | | `make pgo` | Profile-guided build of the compiler itself |
