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

Opinionated formatter included in the binary #44

Open
bmatsuo-at-luthersystems opened this issue Jun 16, 2021 · 1 comment
Open

Opinionated formatter included in the binary #44

bmatsuo-at-luthersystems opened this issue Jun 16, 2021 · 1 comment

Comments

@bmatsuo-at-luthersystems
Copy link
Contributor

The elps executable should contain a fmt command which basically has a subset of the go fmt options.

The parser should be adapted so that it can keep comments and produce an AST that allows it to distinguish whether block comments are attached to an expression or not. That is the following code pieces should not modified and are not equivalent

;; hello

(world)
;; hello
(world)
@bmatsuo-at-luthersystems
Copy link
Contributor Author

The parser rewrite is also related to #47 and #46 either directly or by extension (depending on the chosen implementation for #46)

@bmatsuo-at-luthersystems bmatsuo-at-luthersystems changed the title Opinioned formatter included in the binary Opinionated formatter included in the binary Jun 22, 2021
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

1 participant