ngspice/ng-spice-rework/examples/control_structs
