Skip to content

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

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages