Bru Lang Parser, Linter and Formatter #5067
Replies: 3 comments
-
|
You can use |
Beta Was this translation helpful? Give feedback.
-
|
It would be nice, if we can have a bru antlr lexer/parser grammar file :). |
Beta Was this translation helpful? Give feedback.
-
|
If bruno files can be stored in JSON or TOML files, I would be in favor of that over BRU files and will not need a BRU Lang formatter, parser or linter. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please create a tool for the Bruno CLI, GUI and VSCode extension to parse, lint and format Bru Lang files.
There are many formatters such as prettier, biome, dprint, shfmt to name a few. Many modern languages have formatters built into their toolchain such as Go, Rust and Dart.
I would highly recommend making the parser, linter and formatter for Bru Lang in Rust or Go to have the best performance when formatting many
brufiles or largebrufiles. And most modern formatter tools such as biome and dprint are written in Rust.Formatters help keep code clean and readable, especially when collaborating code on Github with other developers.
Beta Was this translation helpful? Give feedback.
All reactions