FuelLabs/sway

Pretty print the AST from sway-core

Open

#2487 aperta il 9 ago 2022

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)Rust (5421 fork)batch import
compiler: uienhancementgood first issueloggingteam:compiler

Metriche repository

Star
 (61.702 star)
Metriche merge PR
 (Merge medio 22h 6m) (16 PR mergiate in 30 g)

Descrizione

It would be nice if we could implement a pretty printer for the AST produced from sway-core.

Currently, it's pretty hard to read when using a println! on the return AST in rust. Alex mentioned he had used the ptree crate before. Perhaps it might be worth also looking at leveraging this crate for pretty printing.

Guida contributor