
tty7
tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.
它复刻了 Prettier 的 YAML 打印器所使用的 AST 结构,保留注释和精确跨度,并基于 libyaml 扫描算法的移植版本,为格式化及工具开发提供了可靠的基础。
oxc-yaml-parser parses YAML 1.2 into a comment-preserving, span-faithful typed AST, designed for building formatters.
Err with a span; no partial AST is produced.The scanner is a port of the libyaml scanning algorithm (by way of saphyr), adapted to byte-offset spans and trivia retention.
use oxc_yaml_parser::{Allocator, Parser};
let allocator = Allocator::default();
let parser = Parser::new(&allocator, "key: value # comment");
let root = parser.parse().unwrap();
println!("{root:#?}");
More examples are available in examples.
cargo run -p conformance (or just conformance) parses three corpora and snapshots the results under tasks/conformance/snapshots:
data branch, including its invalid-input cases),All valid inputs in all three corpora parse successfully. Rejecting invalid YAML is a non-goal; outcomes on invalid inputs are tracked in the snapshots for review.
MIT
The scanner derives from libyaml (MIT) by way of saphyr (MIT); their copyright notices are included in LICENSE.
根据分类、Topic 和编程语言匹配的相似项目。

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.
reims-vgpu is an experimental virtual GPU for macOS guests that uses QEMU to decode the guest's GPU command stream and execute it through Metal or Vulkan, leveraging the built-in AppleParavirtGPU driver without requiring custom kexts.
A Rust library that provides secure memory handling primitives including zeroization on drop, memory locking, constant-time comparison, and compile-time guarded regions, with zero dependencies and no_std support.