python-goto
plusplus
python-goto | plusplus | |
---|---|---|
8 | 9 | |
1,240 | 91 | |
- | - | |
0.0 | 1.7 | |
about 3 years ago | 12 months ago | |
Python | Python | |
The Unlicense | 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.
python-goto
-
You Don't Need to “Learn” Svelte: Embracing the Simplicity of JavaScript
Goto is control flow. You can’t do control flow with function calls in the sorts of languages we’re talking about, so goto has to be built into the language, typically as a statement.
(In some of these languages you can do awful hacks like using hooks intended for debuggers <https://entrian.com/goto/> or rewriting bytecode <https://github.com/snoack/python-goto>, and frankly what Svelte does is quite similar, just implemented as a compilation step rather than at runtime.)
- after a launch on Reddit, the project only got 2 stars on GitHub. How is that even possible? The answer is the README isn’t flashy enough.
- So what should I use then?
-
Hacker News top posts: Sep 21, 2021
A function decorator that rewrites the bytecode to enable goto in Python\ (70 comments)
- A function decorator that rewrites the bytecode to enable goto in Python
- A function decorator that rewrites the bytecode to enable goto
plusplus
-
x = x + 1
Realistically they could add some syntactical sugar for it. I see both points of view. Here’s a library that adds it if it really bugs you: https://github.com/borzunov/plusplus
-
So what should I use then?
Here you go: https://github.com/borzunov/plusplus
-
Why Python doesn’t have the ++ operator?
It can be yours, right now! (Don't actually use this) https://github.com/borzunov/plusplus
- Enable and+x and –x expressions in Python
-
A function decorator that rewrites the bytecode to enable goto in Python
I do the same in my module that enables increment operators in Python by patching the bytecode for two unary plus/minus ops: https://github.com/borzunov/plusplus
- Bytecode hack that enables increment operators in Python
-
Enable ++x and --x expressions in Python
I'd like to share the plusplus module that turns the ++x-like expressions into x += 1 at the bytecode level, using pure Python only.
- Show HN: Enable prep in Python
What are some alternatives?
PySimpleGUI - Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.
pex - A tool for generating .pex (Python EXecutable) files, lock files and venvs.
linked-list-good-taste - Linus Torvalds' linked list argument for good taste, explained
theatre - Motion design editor for the web
ruby-packer - Packing your Ruby application into a single executable.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
hello-world.rs - 🚀Memory safe, blazing fast, configurable, minimal hello world written in rust(🚀) in a few lines of code with few(1092🚀) dependencies🚀