Talk:HQ9+
Jump to navigation
Jump to search
Can this not be moved to HQ9%2B? That's how Wikipedia does +s in titles. --IslandHopper973 15:03, 20 Jan 2007 (UTC)
- Apparently not, I just tested, both with + and with %2B. Wikipedia only started supporting + some time before January 5, 2006 and our site may have an older version of Mediawiki. In any case %2B is a feature of URLs, not article names, and currently Wikipedia does not allow %2B in article names. --Ørjan 11:15, 21 Jan 2007 (UTC)
- OK. Thanks for clearing that up.--IslandHopper973 16:27, 22 Jan 2007 (UTC)
Proving all the tasks are possible
Surely the Q instruction does not require a quine in the language in which HQ9+ is implemented? Phantom Hoover 21:07, 18 December 2009 (UTC)
- No, the interpreter can just print out the program currently being interpreted, without any self-reference. LegionMammal978 (talk) 14:32, 30 August 2015 (UTC)
- "Implementing Q proves instead that a cat program is possible." – this isn't quite true, you can imagine a language that's only capable of implementing cat on strings that contain a
Q
(or even only on strings that contain exactly oneQ
). It would likely be very contrived, though, and a language that can implement HQ9+ is very likely to be able to implement cat unless it's very contrived. --ais523 10:04, 29 November 2021 (UTC)
Non-Cheating Quine
The program Hello, World!
should be a quine, because if we filter out characters that aren't H, Q, 9, or +, we get H
, which prints Hello, World!
-Someone. (talk)