Logic gates implemented in &babbler