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
2026-03-27 11:56:48 +00:00
cli cli/dialoguer: add NodeInput input dialog box 2026-03-27 11:56:48 +00:00
core cli/dialoguer: add NodeInput input dialog box 2026-03-27 11:56:48 +00:00
nix cli: add verbosity arguments 2025-12-30 11:02:36 +00:00
parser treewide: resolve a few compiler warnings 2026-03-10 11:05:20 +00:00
subprojects cli: add logging framework with flexi_logger to cli 2025-12-29 17:19:10 +00: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 cli: Add IndentTheme 2026-03-27 11:53:19 +00:00
Cargo.toml cli: Add IndentTheme 2026-03-27 11:53:19 +00:00
flake.lock add pre-commit checks 2025-11-06 11:15:54 +00:00
flake.nix flake: refactor rust-toolchain dir, add clippy 2026-03-27 11:53:12 +00:00
justfile add justfile to have a run command similar to cargo 2026-01-09 18:25:10 +00:00
LICENSE Add LICENSE 2025-11-15 12:42:53 +00:00
meson.build core: rewrite prepare_default_values 2026-03-24 11:22:28 +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.