rokc_parser 0.1.0

Crate to parse a Kconfig file into a rowan CST
Documentation

ROKC Other Kernel Config Parser for linux kernel kconfig language

Parser and interface for the Kconfig langauge used in the linux kernel

This project uses meson to build and run all tests properly. Cargo is provided as a compat layer with best effort, while dropping some features where not possible to implement.

Crate structure

rokc_parser

Functions to parse a Kconfig file into a rowan CST

rokc_core

Functions to take the CST from rokc_parser and create the Kconfig structure, evaluating macros while evaluating the ast.

rokc_cli

Interface into rokc_core planned to provide interfaces like the conf and mconf binaries similar to the ones in the kernel.