Crates.io | kconfig-parser |
lib.rs | kconfig-parser |
version | 0.1.1 |
source | src |
created_at | 2022-05-10 21:10:50.223124 |
updated_at | 2022-11-18 17:00:10.356671 |
description | Kconfig parser for the Kconfig file format from the Linux Kernel for the Cargo Kconfig crate |
homepage | https://gitlab.com/cargo-kconfig |
repository | https://gitlab.com/cargo-kconfig/kconfig-parser |
max_upload_size | |
id | 584190 |
size | 270,352 |
This is the parser for Kconfig menu items, as used by the Linux Kernel and other projects. It is primarly created to be used by the Cargo Kconfig package, which is still under heavy development, but you are free to use it for your purposes if you like. If you want an easier interface, then donĀ“t use this package, but use Kconfig-represent instead, which uses this parser, but implements the logic for reading and writing .config files, evaluating the definitions, etc. This package merely produces an AST from Kconfig.
When using the package, note that there are three lexers, which are stapled on top of one another, in the following order: