A nslfmt is a code fomatter for NSL which is one of the HDL and a succsesor of SFL.
TBD
-
rust
You can build the nslfmt by stable rust and toolchains. If you want to run a coverage test, nightly rust is required, because we use tarpaulin. -
tarpaulin
$ rustup run nightly RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
$ rustup run nightly cargo run
- all
$ cargo test
- unit test
- e.g run a test of wire_02 in parser_test.rs
$ cargo test module::wire_02 --test parser_test