truth:布尔表达式解析器和评估器

时间:2021-07-12 08:13:52
【文件属性】:
文件名称:truth:布尔表达式解析器和评估器
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-12 08:13:52
Rust 真相 布尔表达式解析器和评估器。 例子: 表达式: !A > Truth table: A Result 0 1 1 0 > Parsed tree: Operation { components: [Component { value: Var(A), negated: true }], ops: [] } > Variables: [A] 表达式: X & Y > Truth table: X Y Result 0 0 0 0 1 0 1 0 0 1 1 1 > Parsed tree: Operation { components: [Component { value: Var(X), negated: false }, Component { value: Var(Y), negated: f
【文件预览】:
truth-master
----.gitignore(8B)
----src()
--------main.rs(11KB)
----Cargo.lock(46B)
----Cargo.toml(163B)
----README.md(2KB)

网友评论