snaggen@programming.dev to Rust@programming.dev · 1 year agoWrite a pretty printer in Rust and win a bountyconsole.algora.ioexternal-linkmessage-square7fedilinkarrow-up136file-text
arrow-up133external-linkWrite a pretty printer in Rust and win a bountyconsole.algora.iosnaggen@programming.dev to Rust@programming.dev · 1 year agomessage-square7fedilinkfile-text
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up0·edit-21 year agoPrettier is a Javascript code formatter, so it seems the challenge is to rewrite it in Rust.
minus-squareAnders429@programming.devlinkfedilinkarrow-up0·1 year agoWow, they really did not make that clear at all on the contest description.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up1·edit-21 year 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.