Raymon Zutekouw
a5a65c4ed3
|
3 years ago | |
---|---|---|
patches | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
build.sh | 4 years ago | |
wordFactList.mblf | 4 years ago |
README.md
So instead of making yet another quine, it would be cool to generate an already existing quine from something that doesn't look like it at all. So what if it is encoded in seemingly random words, like the programming language Shakespeare or Chef.
So let us take this quine: https://www.linusakesson.net/programming/brainfuck/index.php
+[-<+]-ÿ<<<<<<<[.>]
So the original development for the higher-level-quine went like this:
- create a file that secretly compiles (almost completely) into the Brainfuck quine.
- in a language younger than two weeks to ensure nobody made this earlier.
- and propose features that improve both the language and help you with this ridiculous idea
- like variable-names of any size and composed of any* characters which is kinda cool for any programming language to have
- then realize no editor has syntax highlighting for this language
- make that first yourself for a IDE you have not touched for years, yay first atom package published to apm!!!
- realize the rabbit hole has been entered...
- make that first yourself for a IDE you have not touched for years, yay first atom package published to apm!!!
- then realize no editor has syntax highlighting for this language
- like variable-names of any size and composed of any* characters which is kinda cool for any programming language to have
- and propose features that improve both the language and help you with this ridiculous idea
- in a language younger than two weeks to ensure nobody made this earlier.
So that is what this project is: a source-file containing what seems some oddly but still acceptable formatted text that compiles to the quine.
How to run
Run build.sh
with the mblf compiler installed.
The mblf compiler needs to be installed from source, as it needs the AllArged patch.
Installing mblf from source with AllArged patch
git clone https://github.com/MBLF-Project/quine-stuff.git
git clone https://github.com/MBLF-Project/mblf.git
cp quine-stuff/patches/AllArged.diff mblf/
cd mblf
git checkout tags/v0.1.0
git apply AllArged.diff
rm AllArged.diff
cargo install --path .
Generate quine
cd ../quine-stuff
./build.sh
If all steps went correctly, you should have the file quine.bf, which was generated from the wordFactList.mblf