ROKC Other Kernel Config Parser for linux kernel kconfig language written in rust
  • Rust 96.9%
  • Meson 2%
  • Nix 1%
  • Just 0.1%
Find a file
Fiona Behrens 815df6d259
support if in depends on
support an optional if (using `NodeAttributeIf`) for dependencies.

Add new `if_ctx` to node to hold the context of the if attributes to not
have a double place in the dependencies list

Change-Id: I008ee12fa8e2df86c02bd59700c6c5727150bac4
2026-10-01 15:02:56 +02:00
cli enforce clippy 2026-07-01 14:27:57 +00:00
core support if in depends on 2026-10-01 15:02:56 +02:00
nix nix/package: use finalAttrs.version; enable strictDeps+structuredAttrs 2026-06-19 16:49:50 +02:00
parser support if in depends on 2026-10-01 15:02:56 +02:00
subprojects cli: add logging framework with flexi_logger to cli 2025-12-29 17:19:10 +00:00
types support if in depends on 2026-10-01 15:02:56 +02:00
.envrc initial commit 2025-10-08 11:14:11 +00:00
.gitattributes git add gitattributes 2025-12-11 16:42:47 +00:00
.gitignore cli: add autocompletion helper generator 2026-01-16 16:00:40 +00:00
.rustfmt.toml add rustfmt config and run rustfmt 2025-12-08 12:43:59 +00:00
Cargo.lock types: move Value from core to types 2026-05-13 11:59:06 +00:00
Cargo.toml core/types: create new rokc_types crate and move DefinitionPlace 2026-05-13 11:58:43 +00:00
flake.lock nix: update meson 2026-06-24 14:05:11 +00:00
flake.nix enforce clippy 2026-07-01 14:27:57 +00:00
justfile enforce clippy 2026-07-01 14:27:57 +00:00
LICENSE Add LICENSE 2025-11-15 12:42:53 +00:00
meson.build enforce clippy 2026-07-01 14:27:57 +00:00
meson.options cli: add autocompletion helper generator 2026-01-16 16:00:40 +00:00
README.md cargo: add readme and author 2026-02-13 11:47:45 +00:00

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.