-
Notifications
You must be signed in to change notification settings - Fork 0
Code Formatting Tool #13
Copy link
Copy link
Open
Labels
featureNew feature proposalNew feature proposal
Description
I'm considering the introduction of a code formatting tool for GLang. Something like:
glang sawyer <file-name>sawyer is the real life name of a dog from my place of work!
I would have to figure out a way to architect this, but the best bet is to create an AST like normal, then run through it to generate clean code. For example, this code:
if 1 == 1 { bark(true); }
Would be formatted to:
if 1 == 1 {
bark(true);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature proposalNew feature proposal