genemichaels
Our great sponsors
genemichaels | topiary | |
---|---|---|
5 | 3 | |
80 | 483 | |
- | 7.0% | |
0.0 | 8.9 | |
7 months ago | 18 days ago | |
Rust | Rust | |
ISC 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.
genemichaels
-
Oxlint – written in Rust – 50-100 Times Faster than ESLint
Python and JavaScript have similarly good formatters (as long as your idiot colleagues don't insist on using yapf instead of Black, despite yapf producing non-deterministic output!). In fact I would say Rust is probably behind Prettier in terms of auto formatting. The rustfmt output is less pretty (subjective I know), the devs have made several strange decisions and it seems to be semi-abandoned (maybe partly because the devs were ... shall we say not as friendly and welcoming as the Rust community likes to bleat on about).
There are a couple of alternative formatters:
* https://github.com/andrewbaxter/genemichaels
-
Minimalist Rust formatter as an alternative to rustfmt?
There are alternatives to rustfmt: Prettier Rust and genemichaels
-
The most creative, funny, clever, ridiculous, ... library names!
Gene Michaels, code formatter
-
How do you name your crates?
I think we should all take inspiration from Gene Michaels and just start naming crates after random people.
- Gene Michaels: Alternative Rust code formatter
topiary
-
Show HN: GritQL, a Rust CLI for rewriting source code
You should check out https://github.com/tweag/topiary
Yes, theoretically if you had ~identical grammars you could use it to do a full transpilation. There's a lot of challenges with that though. Writing a correct grammar for 1 language is complicated enough, but writing one for two where all your nodes and fields end up the same is likely insurmountable.
In practice, languages are either:
- Far enough apart that any pure AST transformation is insufficient and you need an AI component to produce usable output
-
Elastic Tab Stops (2017)
This is something we've discussed[1] in the development of Topiary, deferring the process to the formatter. It's not a priority issue for us right now, but given the lack of universal editor support for elastic tab stops, having the formatter do this seems like a reasonable solution.
[1]: https://github.com/tweag/topiary/issues/170
-
Minimalist Rust formatter as an alternative to rustfmt?
build on top of https://github.com/tweag/topiary/blob/main/languages/rust.scm
What are some alternatives?
octocrab - A modern, extensible GitHub API Client for Rust.
prettier-plugin-rust - Prettier Rust is an opinionated code formatter that autocorrects bad syntax.
rfcs - RFCs for changes to Rust
goformat - Alternative to gofmt with configurable formatting style (indentation etc.)
libass - libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
prettyplease - A minimal `syn` syntax tree pretty-printer
rouille - Rust programming, in French.
abomonation - A mortifying serialization library for Rust
ambassador - Delegation of trait implementations via procedural macros
tungstenite-rs - Lightweight stream-based WebSocket implementation for Rust.