14
4
The challenge is to create a program that solves any one of the HQ9+ problems while looking like another language.
Note: This is not a golf challenge.
Rules:
- The program must perform one of the following tasks when run.
- Print "Hello, World!"
- Print its entire source.
- Print the lyrics to "99 Bottles of Beer on the Wall" (as seen here).
- At first glance the program should look like another language.
Grading
- Working program that satisfies the rules. +3
- Bonus points if the "other language" can be run (syntax valid). +1
- Even more points if the "other language" can do something useful. +3
- Lots of bonus points for the program being valid (and useful) in even more languages. +5 for each language over 2.
1
How are they graded? You need an objective criterion. Check here: http://codegolf.stackexchange.com/help/on-topic
– MrZander – 2013-11-22T20:08:41.597Okay, I'm adding a points system. – Kevin Cox – 2013-11-22T20:11:25.880
1
So... you're looking for a polyglot?
– Iszi – 2013-11-22T20:45:34.730Yes. But with emphasis on "hiding" the features of all but one language to an extent. – Kevin Cox – 2013-11-22T20:51:02.963
4
print ("Hello, World");
by itself will run in a lot of languages – marinus – 2013-11-24T16:58:59.510What about the HQ9+ problem "increment the counter by one"? :P – FireFly – 2013-11-26T17:40:52.197
I kinda deemed that boring, but if you come up with something interesting I'm sure people will enjoy it :D – Kevin Cox – 2013-11-26T17:57:06.553