Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
deleted by creator
zsh has completion built in. There’s zsh-autocomplete that’s maybe closer to what you’re thinking. I’m not aware of a term emu with special GUI for it beyond what your shell gives you.
Off-topic, but beacme of Google’s Carbon? People on Reddit created much hype like an year ago.
Announcing [language]! A [language]-like language that produces [this language], [that language], or [another language]! Written in [language]!
/s
Why does it being written in Rust? Do people think, wow I must use this because it’s written in Rust?
Speed and memory safety generally
speed, probably
I wanted to try using yamlpath (
yaml-set
in particular) to recreate the first example, even though the usage model doesn’t quite match up. It’s a bit tedious because I don’t think you can do unrelated replacements in a single command:Trying to make it neater with Zsh and (forbidden) use of
eval
:EDIT: Ugh I can’t figure out how to properly write the less than sign in lemmy comments.
What is this useful for?
Quickly creating or editing objects. The main target would be editor extensions, image a snippet that expands to an object on tab for instance
Interesting concept, just FYI, there’s a popular code grepping tool called Silver Searcher, and it also uses
ag
- consider just usingaugust
to avoid ambiguity/collisions.