h4ckz0r broken the matrix
share your thoughts
That’s got to be the lamest way of doing it.
Yet it’s possible to do it for all languages available on CG, without referencing the actual source file.
Search for Quine, if you want to know how to do it in a more challenging way.
There also exist circular quines: write code in language A, that generates code in language B. Run the code of language B and get code A again.