A collection of tools for the Bloa programming language, including a formatter and linter.
- Formatter: Automatically formats Bloa code according to standard conventions.
- Linter: Checks Bloa code for style and potential errors.
Clone the Bloa interpreter repository and build it:
git clone https://github.com/bloa-lang/bloa-src.git
cd bloa-src
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build ./path/to/bloa /path/to/bloa-tools/src/formatter.bloa <input_file> <output_file>/path/to/bloa /path/to/bloa-tools/src/linter.bloa <input_file>The tools are implemented in Bloa itself. Some advanced features may have limitations due to the current Bloa standard library. The formatter handles basic indentation and semicolon addition. The linter checks for indentation consistency and missing semicolons.
Run tests (currently manual):
/path/to/bloa /path/to/bloa-tools/run_tests.bloa