概要
A simple and efficient system-level programming language
言語・ランタイム計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル🎉 🎉 🎉 Vix is fully self-hosted! The compiler now compiles itself. No external dependencies. Next: stdlib, packages, and tooling 🚀
This branch is an experimental bootstrap branch, and it's not recommended to download it for now. If you want to use vix, please go to: https://github.com/vixlang/Vix-lang
Why Vix?
Performance: Vix compiles to native code with an LLVM-based backend and is designed for low-overhead execution.
Reliability: Static typing and compile-time checks catch common errors earlier.
Simplicity: The language keeps syntax concise while still supporting practical features like functions, modules, structs, pointers, generics, and control flow.
Hello world
use "core/io.vix" as io
fn main(): i32
{
io::puts("Hello,world!")
return 0
}
Running a program
On Linux, vixc prog.vix -o prog && ./prog works directly. On macOS vixc's
embedded linker only implements the ELF and COFF drivers, so the LLVM backend
emits a Mach-O object and the platform toolchain links it:
sh scripts/run-vix.sh examples/impl2.vix
The self/LIR backend refuses non-x86_64 hosts, which is why the LLVM backend is the one used above.
From the editor
The Vix Build & Run panel and the vix.run command invoke
vixc ... -o <name> <file>, which cannot link on macOS. Point the extension at
the shim to make those work:
{
"vix.compilerPath": "/absolute/path/to/Vix-lang/scripts/vixc-macos.sh"
}
The shim forwards every other mode (-obj, -S, --check, ...) to the real
compiler unchanged, so the problems panel and the language server are unaffected.
Documentation
- LearnVix:GitHub Link
- VixDocs:GitHub Link
- VixDocs for ZRead:Link
Getting Help
- Open a discussion in GitHub Issues.
- Contact: [email protected]
- QQ Group: 130577506
Contributing
Contributions are welcome, including language design feedback, bug reports, tests, standard library improvements, and documentation updates.
To start contributing, please open or pick an issue: vix-lang issues
License
Vix is distributed under the Apache License 2.0. See LICENSE for details.
Ecosystem
| Project | Description | Status |
|---|---|---|
| Vix Compiler | Core compiler with LLVM-focused backend implementation | In active development |
| Very | Package manager for Vix | Community contribution Very |
| Standard Library | Common APIs and utilities | Community contribution |
| VS Code Extension | Editor support for Vix | Published Link |
関連プロジェクトを探す
読み込み中…