We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem:
We need a standard formatter.
To help users avoid arguing about code formating.
Solution 1:
Implement formatExp and formatStmt(s).
formatExp
formatStmt(s)
These functions should take formatting context as argument, and recurse down the Exp and Stmt.
Exp
Stmt
Solution 2:
Learn from prettier API, and write prettier plugin.
https://prettier.io/docs/en/plugins.html
The text was updated successfully, but these errors were encountered:
Will be useful in online playground: https://cicada-lang.org/playground/
Sorry, something went wrong.
No branches or pull requests
Problem:
We need a standard formatter.
To help users avoid arguing about code formating.
Solution 1:
Implement
formatExp
andformatStmt(s)
.These functions should take formatting context as argument,
and recurse down the
Exp
andStmt
.Solution 2:
Learn from prettier API, and write prettier plugin.
https://prettier.io/docs/en/plugins.html
The text was updated successfully, but these errors were encountered: