Skip to content

Generates programs that estimate pi by calculating the area of their own source code

Notifications You must be signed in to change notification settings

RobGeada/QuinePi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QuinePi

This quick little program generates a valid Python QuinePi; a program that estimates pi by computing the area of its own source code.

By typing python genQuine.py <flag> <radius>, a QuinePi program of radius r will be generated and run. I've included an example QuinePi of radius 12, the smallest one I've managed to get working correctly thus far.

Using the -v flag will print the generated program, while the -q flag will hide that output.

About

Generates programs that estimate pi by calculating the area of their own source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages