التوثيق

أداة orb

كل أوامر orb: التحقق والاختبار والترجمة والتشغيل والأدوات حولها.

orb (المثبَّت أيضًا باسم orbital) ملف تنفيذي أصلي واحد. ثبّته من صفحة التثبيت.

الفحص

bash
1 2 3 4 5 6 orb validate app.lolo # 0 errors and 0 warnings is the bar orb validate app.lolo --json # findings with codes and source positions orb verify app.lolo # play every transition in the Rust kernel orb verify app.lolo --trait Checkout # one trait at a time orb verify app.lolo --all # the Rust kernel, the JS runtime and the compiled app orb test app.lolo # exhaustive state-machine tests

البناء والتشغيل

bash
1 2 3 4 5 orb serve app.lolo --open # compile and serve with the bundled runtime orb compile app.lolo --output ./out # write a full TypeScript app orb compile app.lolo --mode client # client only: a static site for browser-stored data orb compile app.lolo --shell python # other backends: python, rust, mobile, android, ios orb new my-app # scaffold a project

الفحص الداخلي

bash
1 2 3 4 5 6 orb emit orb app.lolo # the lowered .orb JSON orb resolve app.lolo --output app.orb # every import flattened orb emit ts app.lolo --section Checkout # generated code for one part orb execute app.lolo --event PAY --payload '{"amount": 40}' orb format app.lolo # pretty-print in place orb evaluate '(math/clamp 12 0 10)' # evaluate an expression

السلوكيات والمحركات

bash
1 2 3 4 orb list --global # installed orb packages, and whether each loads orb add <package> # add one to a project orb engines install --global # the verify engines for --runtime / --compiled orb signatures --out signatures.lolo # the type catalog agents read

الوكيل

bash
1 2 3 orb "Build a booking system for a small clinic" orb --last "Add a cancellation fee" orb fix app.lolo

التكامل مع المحررات

bash
1 2 orb complete app.lolo --offset 512 # what may be written at a cursor, as JSON orb embeds app.lolo # where each inline behavior embed sits

رموز الخروج: 0 يعني أن كل المطلوب نجح، و1 أن فحصًا فشل، و2 أن أداة لم تتمكن من العمل.

Orb

اللغة التي تكون فيها القاعدة هي البرنامج.

© 2026 المدار. ليوبليانا، سلوفينيا.
Not reported here