QuinePig is a version of the language Pig, where every program is a quine.
QuinePig follows nearly the same syntax rules as Pig. You write the name of the text file you want to create, write PIG, then write the rest of the contents of the text file.
The difference is that QuinePig takes ALL of the code you wrote and puts it in the text file. Therefore, every QuinePig program is a Quine.
Various Programs in QuinePig
Text File Named "Hello, World!"
The following code creates a text file named "Hello, World!":
QuinePig cannot create the Cat program because it is output only.
Every QuinePig program is a Quine.
The Pig Series
The Pig series is a a series of programming languages that are all based on Pig.