onelinerizer
Power-Fx
Our great sponsors
onelinerizer | Power-Fx | |
---|---|---|
19 | 15 | |
1,510 | 3,102 | |
- | 1.1% | |
0.0 | 9.6 | |
about 2 years ago | about 19 hours ago | |
Python | C# | |
MIT License | MIT License |
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
-
Flatliner: turn python programs into one line of (still python) code
I was able to find the original one after some searching: https://github.com/csvoss/onelinerizer
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.
-
C'mon Python, surely you can figure out what I meant
Indeed
lambda would like a word
-
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
-
The logic gate adventure
You might conceptually like: http://www.onelinerizer.com/
-
I was born this way
Use onelinerizer for that, can turn pretty much any python 2 program into a oneliner
-
That's a great suggestion.
My favourite chain of this type is the Python oneliner-izer, a script to convert any Python code into a one-liner version through judiscious use of lambdas, recursion and ternary operators.
-
What side effects?
You can try onelinerizer. In can convert everything into a single lambda function, lmao. Watch the youtube presentation, it's amazing.
Power-Fx
-
Is there an open source formula language?
Take a look at https://github.com/microsoft/Power-Fx ! It’s a language heavily based on excel’s formula language, and the open source interpreter can be used for simple expressions at the moment.
-
Hacker News top posts: Mar 3, 2021
Microsoft Power Fx – A low-code general purpose programming language\ (114 comments)
-
That's a great suggestion.
Excel, I mean, PowerFx will have the last laugh: https://github.com/microsoft/Power-Fx
-
Microsoft Power-Fx: a low-code general purpose programming language
I feel like we've been through this with COBOL, SQL, and...well, lots of things, so I'm skeptical of a “low-code [general purpose or otherwise] programming language” even if it is “expressed in a human-friendly text.” [0]
[0] https://github.com/microsoft/Power-Fx/blob/main/docs/overvie...
Microsoft Power Fx – A low-code general purpose programming language
What are some alternatives?
python-functions
wtfjs - 🤪 A list of funny and tricky JavaScript examples
localpdfmerger - Merge PDFs, optimize PDFs, and extract Information like Images from PDF Files locally inside your Browser
lowdefy - The config web stack for business apps - build internal tools, client portals, web apps, admin panels, dashboards, web sites, and CRUD apps with YAML or JSON.
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
fetlang - Fetish-themed programming language
movfuscator - The single instruction C compiler
JavaWord - Microsoft Word as a Java "IDE"