https://github.com/j3rn/dawkins-weasel
https://github.com/j3rn/dawkins-weasel
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/j3rn/dawkins-weasel
- Owner: J3RN
- License: mit
- Created: 2015-11-26T02:38:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-04T22:27:11.000Z (about 10 years ago)
- Last Synced: 2025-02-07T09:13:23.074Z (over 1 year ago)
- Language: C
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dawkins' Weasel
This is my implementation of Dawkins' weasel. There are many like it, but this one is mine.
While reading [The Blind Watchmaker](https://en.wikipedia.org/wiki/The_Blind_Watchmaker) by Richard Dawkins, I came to the passage where he describes creating a program that iteratively works towards creating the phrase "METHINKS IT IS LIKE A WEASEL", and was inspired to try to create just such a program. It turns out that these programs are collectively referred to as [Dawkins' weasel](https://en.wikipedia.org/wiki/Weasel_program), or "weasel programs."
## Running
My solution is written in C, with no dependencies. The only prerequisite is `gcc`.
To run, simply compile the code:
```bash
gcc -o main main.c
```
And execute it:
```bash
./main
```
## License
This code is distributed under the MIT license, provided in the `LICENSE` file.