Quine in ALGOL 60

Published on 28 March 2026 (Updated: 28 March 2026)

Welcome to the Quine in ALGOL 60 page! Here, you'll find the source code for this program as well as a description of how the program works.

Current Solution

begin procedure q(a,b,c);string a,b,c;begin outstring(1,c);outchar(1,a,2);outchar(1,a,1);outchar(1,a,1);outstring(1,a);outchar(1,a,2);outchar(1,a,3);outchar(1,a,2);outstring(1,b);outchar(1,a,2);outchar(1,a,3);outchar(1,a,2);outstring(1,c);outchar(1,a,2);outstring(1,b) end q;q("\\\",",") end","begin procedure q(a,b,c);string a,b,c;begin outstring(1,c);outchar(1,a,2);outchar(1,a,1);outchar(1,a,1);outstring(1,a);outchar(1,a,2);outchar(1,a,3);outchar(1,a,2);outstring(1,b);outchar(1,a,2);outchar(1,a,3);outchar(1,a,2);outstring(1,c);outchar(1,a,2);outstring(1,b) end q;q(") end

Quine in ALGOL 60 was written by:

If you see anything you'd like to change or update, please consider contributing.

How to Implement the Solution

No 'How to Implement the Solution' section available. Please consider contributing.

How to Run the Solution

No 'How to Run the Solution' section available. Please consider contributing.