We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
HQ9F+
Jump to navigation
Jump to search
HQ9F+ is an extended language of HQ9+, featuring FizzBuzz, designed by ぬこ, published in 2007. According to the designer, he designed for being discouraged to hear the news that the young programmers cannot even program FizzBuzz.
Features
This language has four original instructions: H, Q, 9, and + and an extended instruction F.
The instruction F is to output FizzBuzz up to the time the accumulator got accumulated.
Example
+++++f
outputs
1 2 Fizz 4 Buzz
+++++++++++++++f
outputs
1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz
See also
External resources
- Original description page (from the Wayback Machine; retrieved on 9 November 2008)
- Original implementation in Perl (from the Wayback Machine; retrieved on 10 October 2008)
- Other implementations
- wobh/HQ9F-Ruby - developed as a module.
- momo2ro/HQ9Fplus - in C. The exception is that it fizzbuzzes for 1000 times, instead of value of accumulator.
- GH-TpaeFawzen/hq9fplus-shell (from the Wayback Machine; retrieved on 16 December 2020) - in Python3.