#parser #layer #properties

klayout-lyp

A parser for KLayout layer properties files (*.lyp)

2 releases

Uses new Rust 2024

0.1.1 Sep 23, 2025
0.1.0 Sep 23, 2025

#50 in #properties

43 downloads per month

BSD-3-Clause

19KB
96 lines

KLayout Layer Properties Parser

A parser for KLayout layer properties files (*.lyp).

Usage

You can parse layer properties from a string as follows:

let lyp_file: &str = ...;
klayout_lyp::from_str(lyp_file);

You can also use klayout_lyp::from_reader to parse directly from any type that implements std::io::Read.

Contributing

Documentation updates, tests, and bug fixes are always welcome. For larger feature additions, please discuss your ideas with us before implementing them.

Contributions can be submitted by opening a pull request against the main branch of this repository.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed under the BSD 3-Clause license, without any additional terms or conditions.

Dependencies

~1–1.6MB
~35K SLoC