Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code formatter (jfmt?) #365

Closed
candidtim opened this issue May 2, 2020 · 3 comments
Closed

Code formatter (jfmt?) #365

candidtim opened this issue May 2, 2020 · 3 comments

Comments

@candidtim
Copy link

This is a suggestion to add a Janet code formatter to the roadmap (in a same vein as gofmt, black [python], etc.).

@andrewchambers
Copy link
Member

andrewchambers commented May 4, 2020

I'd love one too. Feel free to sponsor it's development to help get the ball rolling. I think if we all pitch in we can get something awesome.

@oakmac
Copy link

oakmac commented May 5, 2020

A while ago there was some discussion in the Clojure community around making such a tool. These links may be useful for research / discussion / ideas here:

In particular, I think the suggested approach from Tonsky would work well with Janet.

@andrewchambers
Copy link
Member

Great news, there is a new formatter library:

https://raw.githubusercontent.com/janet-lang/spork/master/spork/fmt.janet

@bakpakin bakpakin closed this as completed May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants