Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2kabhishek/polyquine
source = output, in five languages 🎨🃏
https://github.com/2kabhishek/polyquine
art c javascript languages perl php polyquine programming-language programming-languages python quine ruby
Last synced: 3 months ago
JSON representation
source = output, in five languages 🎨🃏
- Host: GitHub
- URL: https://github.com/2kabhishek/polyquine
- Owner: 2KAbhishek
- License: gpl-3.0
- Created: 2020-12-30T21:38:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T07:44:23.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T16:27:04.847Z (9 months ago)
- Topics: art, c, javascript, languages, perl, php, polyquine, programming-language, programming-languages, python, quine, ruby
- Language: C
- Homepage:
- Size: 18.6 KB
- Stars: 39
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A quine is a computer programming that prints its own source code when executed.
A polyquine does the same thing for multiple programming languages.
This repo contains such a polyquine written in `C`, `Perl`, `PHP`, `Python` and `Ruby`.
## Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of `gcc`, `perl`, `php`, `python` and `ruby`.
## Getting polyquine
To get polyquine, follow these steps:
```bash
git clone https://github.com/2kabhishek/polyquine
cd polyquine
```## Running polyquine
```bash
# For C
gcc polyquine.c
./a.out# For perl
perl polyquine.pl# For PHP
php polyquine.php# For Python
python polyquine.py# For Ruby
ruby polyquine.rb```
Hit the :star: button if you found this useful.
### More Info