snaggen@programming.dev to Rust@programming.dev · 11 months agoWrite a pretty printer in Rust and win a bountyconsole.algora.ioexternal-linkmessage-square4fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkWrite a pretty printer in Rust and win a bountyconsole.algora.iosnaggen@programming.dev to Rust@programming.dev · 11 months agomessage-square4fedilinkfile-text
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up0·edit-211 months agoPrettier is a Javascript code formatter, so it seems the challenge is to rewrite it in Rust.
minus-squareAnders429@programming.devlinkfedilinkarrow-up0·11 months agoWow, they really did not make that clear at all on the contest description.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up1·edit-211 months agoYeah, “pretty printer” to me means some kind of pretty output library, like for terminal applications. I’d call this a “code formatter,” but whatever. I guess this is what happens when your community doesn’t standardize on something early on. I guess I take cargo fmt for granted.
Prettier is a Javascript code formatter, so it seems the challenge is to rewrite it in Rust.
Wow, they really did not make that clear at all on the contest description.
Yeah, “pretty printer” to me means some kind of pretty output library, like for terminal applications. I’d call this a “code formatter,” but whatever.
I guess this is what happens when your community doesn’t standardize on something early on. I guess I take
cargo fmt
for granted.