cnmcdee cee17059a3 Blank-lines guard test for the generator
The reported symptom (a blank line after every line of generated
source) was investigated Nov 29, 2026 and does NOT reproduce in the
current generator: all 16 gen_matrix cases measure a
blank-after-content ratio of 0.01-0.06 (section separators only),
while double-spaced output scores ~1.0. This test pins the clean
output so a regression fails loudly: it generates all 16 cases and
asserts every main.cpp has a blank-after-content ratio < 0.20.
Verified: passes on clean output; the same ratio function fails a
double-spaced file at 0.99 (checked via the C guard script).
2026-11-30 03:59:10 +00:00

lightgui_rust — LightGUI ported to Rust

Rust port of LightGUI (HEAD eb0b5fc): an XFrame-native form designer with 547 XFrame widgets. See PORTING_PLAN.md for the survey and module map.

Workspace

Crate C++ source Status
crates/lightgui-core src/model.h, src/props.h, src/events.h, src/project_io.cpp, canonicalize() in src/main.cpp done
crates/lightgui-gen src/generator.cpp / src/generator.h (emits C++/XFrame, byte-identical) done
crates/lightgui-debug src/debugger.cpp / src/debugger.h (GDB/MI) in progress
crates/lightgui-support data extraction (registry, palette, indicators) in progress

probe/ is the step-0 crates.io probe (standalone, excluded from the workspace). data/ / tools/ are generated data + extraction tooling.

Build / test

cargo test    # workspace; rustc/cargo are login-shell-only: use `bash -lc`
cargo build   # must be warning-free (the C++ build was zero-warning)

Rust 1.100.1 stable, GTK 3.24 (gtk-rs 0.18), serde/serde_json 1.0.

S
Description
No description provided
Readme
2.4 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 92.6%
Python 6.6%
Shell 0.5%
C++ 0.2%
Makefile 0.1%