onelinerizer
Shamelessly convert any Python 2 script into a terrible single line of code (by csvoss)
brainfuck
compiler for x86 in 100 bytes (by peterferrie)
onelinerizer | brainfuck | |
---|---|---|
19 | 1 | |
1,514 | 68 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 9 years ago | |
Python | Assembly | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
onelinerizer
Posts with mentions or reviews of onelinerizer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-22.
-
Flatliner: turn python programs into one line of (still python) code
Very cool. Also, Chelsea Voss did this in 2016 with Python 2 (https://github.com/csvoss/onelinerizer) and did a great talk about it at PyCon (https://www.youtube.com/watch?v=DsUxuz_Rt8g) . She also has try/except working, maybe something similar to her solution would also work in Python 3.
-
I think someone broke the matrix!
Ahhh, allow me to introduce you to Oneliner-izer. Devs smarter than me laugh at your thinking loops cannot be implemented in a single line without semicolons
-
C'mon Python, surely you can figure out what I meant
lambda would like a word
-
The next level of if even
It’s still possible to have it be a single line in Python!! http://www.onelinerizer.com
-
I compressed a pong game into 14 lines of code! See if you can improve it!
Outdated but if you downgrade to python 2 or figure something out from the examples: http://www.onelinerizer.com/
-
Python f-strings Are More Powerful Than You Might Think
Entire python programs can be converted to a single one-line expression.
-
What is your favourite Rust specific feature that you miss in other languages?
And then there's also oneline.py, the mother of Python onelineization.
-
The JSF*ck Keyboard, an entirely original idea.
For a similarly awful idea in python, observe the onelinerizer
-
Is there any code in python that provably needs more than one line to run?
No, in fact Chelsea Voss made http://www.onelinerizer.com/ which can convert any Python (2) program into one line (without using eval, compile, exec or semicolons). The approaches used are talked about in this PyCon 2016 talk: https://www.youtube.com/watch?v=DsUxuz_Rt8g
-
Pro tip for debugging!
You're welcome.
brainfuck
Posts with mentions or reviews of brainfuck.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-03.
-
That's a great suggestion.
Here's a version of the compiler that's only 100 bytes
What are some alternatives?
When comparing onelinerizer and brainfuck you can also consider the following projects:
Power-Fx - Power Fx low-code programming language
fetlang - Fetish-themed programming language
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
movfuscator - The single instruction C compiler
mdp - A command-line based markdown presentation tool.
wtfjs - 🤪 A list of funny and tricky JavaScript examples
JavaWord - Microsoft Word as a Java "IDE"
deno - A modern runtime for JavaScript and TypeScript.
python-functions