3 ms·
GPT can write Quines now (GPT-4)
- bediger4000 4y agoChatGPT could write quines in Go, at least. It could not write an nroff quine. Can GPT-4 write a quine for nroff, or that weird GPP macro processor, or even for the m4 macro processor?
- WiSaGaN 4y agoSeems not able to do it in Rust even after several rounds of feedback. The last result (not working) was fn main() { let s = "fn main() {{ let s = {:?}; print!({:?}, s); print!({{0}}, s) }}"; print!("{:?}", s); print!("{}", s); }