Tủ GitHub repo xịn
Avatar mhieuhonda

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.

Đang hoạt động Repo Analyzer3 xu
7GitHub stars
0Forks
14Open issues
0Lượt nhấp GitHub
CNgôn ngữ chính

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, lint

Day-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, lint

Day-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 |

Đối chiếu README gốc

Chủ đề liên quan

#compiler#memory-safety#programming-language#self-hosting#systems-programming
Mở trên GitHub

Cùng hệ sinh thái

Repo liên quan