编译-逻辑表达式(compile-logic-expr)

SkillDocs & knowledge

逻辑表达式 / 编译-逻辑表达式 / 编译逻辑——且 / 或短路 / 逻辑表达式编译 / 且/或 → 短路跳转字节。用户提到这些词时使用本技能。 场景:对照:编译逻辑——且/或短路(左操作数决定是否求右——短路求值语义)。 【不适用】Not for 以下场景:op 非 {且} 时

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the 编译-逻辑表达式(compile-logic-expr) skill

What this skill tells your AI

The instructions your AI receives, as published by furongjun-1999/dsh-memory in skills/skills/lingshu-compiler/units/compile-logic-expr/SKILL.md and read by ahel’s review.

When to use

任务「逻辑表达式」;对照:编译逻辑——且/或短路(左操作数决定是否求右——短路求值语义)。

克制条款(不适用条件)

op 非 {且} 时

How to execute

且→JUMP_IF_FALSE、或→JUMP_IF_TRUE(左短路)

Verification

  • 单元样例 2 条(cases 断言)
  • 物理基底:按 calibration 对照(编译/运行/断言裁决)

References

  • 单元库:compiler_code_units.py「编译-逻辑表达式」

Signals

GitHub stars
164
Forks
11
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
compile-logic-expr
Source
github.com/furongjun-1999/dsh-memory