hack
hack copied to clipboard
A collection of tricky code
A tricky code collection
This repository will be a collection of tricky code.
Unless otherwise specified, programs linked from this repository are written by myself. I'm also trying to mention pioneer works for each code.
Categories
Binary
- Polyglot GIF
Esolang
See https://esolangs.org/wiki/Main_Page
- Befunge Lisp
- Sed Lisp
- cal(1) in Brainfuck
Polyglot
See http://en.wikipedia.org/wiki/Polyglot_(computing)
- 5 Languages Polyglot Quine
- Polyglot GIF
- Polyglot Symbolic Quine
Quine
See http://en.wikipedia.org/wiki/Quine_%28computing%29
- 5 Languages Polyglot Quine
- Keyword-only Perl
- Polyglot Symbolic Quine
- Python only with lowercase alphabets and parenthesis
- Radiation-hardened Quine
- Ruby only with lower-case alphabets
Restricted
Code written with some restrictions. For example, Ruby (>= 1.9), Perl, JavaScript, and Groovy are known to be turing complete only with symbolic characters (no alphabets, no numerals, no control characters, and no non-ascii characters.).
- Keyword-only Perl
- Polyglot Symbolic Quine
- Python only with lowercase alphabets and parenthesis
- Ruby only with lower-case alphabets
Languages
Befunge
- Befunge Lisp
Brainfuck
- 5 Languages Polyglot Quine
- Brainfuck in Ruby's Regexp
- cal(1) in Brainfuck
C
- 5 Languages Polyglot Quine
JavaScript
- Polyglot Symbolic Quine
Perl
- 5 Languages Polyglot Quine
- Keyword-only Perl
- Polyglot GIF
- Polyglot Symbolic Quine
- Radiation-hardened Quine
Python
- 5 Languages Polyglot Quine
- Python only with lowercase alphabets and parenthesis
Ruby
- 5 Languages Polyglot Quine
- Brainfuck in Ruby's Regexp
- Polyglot GIF
- Polyglot Symbolic Quine
- Radiation-hardened Quine
- Ruby only with lower-case alphabets
Sed
- Sed Lisp