AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A systems language built for the models that write it. Ownership and borrowing, Writ as a first-class data substrate, Deem as integrated Datalog reasoner with batteries, compile-time metaprogramming as ordinary Logos code, targeting a heterogeneous compute model (LCM)
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Logos is a compiled, statically-typed systems programming language with its own compiler (logosc), standard library, and runtime. It descends from ideas explored in the Memoria Framework, but is a standalone language platform — not a C++ framework layer.檢視完整 README ↗Logos is a compiled, statically-typed systems programming language with its own compiler (logosc), standard library, and runtime. It descends from ideas explored in the Memoria Framework, but is a standalone language platform — not a C++ framework layer.
.logos) with ownership/borrowing, traits, generics, monomorphization, and pattern matching.logosc) covering parse, sema, borrow checking, monomorphization, MLIR generation, and LLVM lowering.stdlib/) including a first-class Writ integration — a relocatable, schema-aware, tagged data substrate.The Rust-like surface was effectively chosen by the model. The original plan was a much simpler, IR-adjacent syntax with no expressions — explicit, verbose, optimised for small and mid-sized models. In practice the language also has to be pleasant for humans to read and write, and Rust turned out to sit in a sweet spot: expressive, low-level, a good DSL host, and — importantly — models generate it more reliably than most alternatives. Since Logos is built for models first, leaning into a syntax they already handle well is the pragmatic choice.
Logos inherits surface syntax, affine types, generics, and the ownership/borrowing model from Rust, but it is not Rust: not source-compatible, not aiming at portability in either direction, and willing to diverge wherever AI-first ergonomics, Writ-based code/data unification, compile-time programming as ordinary Logos code, or green-fiber concurrency without async coloring point elsewhere. Substantial divergence is expected in the near future.
@{...} / @[...] are literal forms in the grammar, capture ($ident, ${expr}) is type-checked at sema time, view types carry lifetimes through the borrow checker, and module-scope literals fold to rodata. No DSL, no macros, no FFI between values and data.Build the compiler. The compiler must be clang 20 — the generated parser does
not build with GCC, and CMake picks c++ (often GCC) unless you say otherwise:
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_COMPILER=clang++-20
cmake --build build
Compile and run a program. logosc emits a native object file, not an
executable — you link it against the stdlib archives yourself:
build/bin/logosc examples/writ_round_trip.logos -o round_trip.o
cc round_trip.o -Wl,--start-group build/lib/logos/*.a -Wl,--end-group \
-lpthread -lm -lstdc++ -Wl,--gc-sections -Wl,--allow-multiple-definition \
-o round_trip
./round_trip
(That is the same link line tests/logos/run_test.sh uses. Skipping it and
running logosc's output directly gives "Permission denied" — the file is an
ELF relocatable, and the 126 you see is the shell's, not the program's.)
Run the tests with scripts/lt. The full suite is over 11,000 tests, so lt
runs the part a task touches first: L0 is the task's own tests, L1 the groups
they belong to (tests/groups.rules), L2 everything else.
scripts/lt task new mytask /bc_/ tests_name # L0: names or /regexes/
scripts/lt run --level 1 --upto # L0, then L1
scripts/lt run --all # everything
scripts/lt run --group borrow_checker # one group
scripts/lt show TEST --output # a test's history and output
See the Getting Started guide for prerequisites and details.
logos/
src/ Compiler, runtime, Writ, HRPC, reactor, verification
stdlib/ Logos standard library and language runtime
tests/ Language test suites (pass / fail)
examples/ Example Logos programs
tools/ Supporting tools (PEG generator, audits, HRPC codegen)
docs/ Language spec, ADRs, and internal design notes
User-facing documentation — the guide, language spec, subsystem references (Writ, Hest, Deem, Trama, Metacall), API reference, and essays — lives on the project site: logos-lang.dev.
This repository keeps the normative language spec (the source the site renders), the divergences register, and engineering notes for contributors:
logosc pipeline.| Component | Technology |
|---|---|
| Language Implementation | C++23 |
| Frontend / Semantics | PEG parser + sema + borrow checker |
| Codegen Backend | LLVM / MLIR |
| Data Substrate | Writ (relocatable tagged object graphs) |
| RPC | HRPC (bidirectional streaming) |
| IO / Concurrency | io_uring reactor with green fibers |
| Build | CMake + Ninja, VCPKG |
| Platform | Linux (Ubuntu LTS) |
Active implementation. The compiler, runtime, and standard library are in daily use; the language has not stabilized and the documentation reflects the current state, not a frozen specification.
Dual-licensed under Apache 2.0 and MIT — at your option. See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for the full text and pick-your-licence rule.
The Logos Lang name and project marks are governed separately by TRADEMARKS.md — most descriptive uses are permitted without permission. Forks and derivative distributions must rename.
Patches are welcome. Contributions are dual-licensed (Apache 2.0 /
MIT, same as the codebase) and must include a DCO sign-off
on each commit (git commit -s ...). See
CONTRIBUTING.md for the full workflow.