Crates.io | masm-formatter |
lib.rs | masm-formatter |
version | 0.1.3 |
source | src |
created_at | 2024-06-21 22:54:29.521267 |
updated_at | 2024-06-24 15:16:43.474935 |
description | A formatter for .masm files |
homepage | https://github.com/partylikeits1983/masm-formatter |
repository | https://github.com/partylikeits1983/masm-formatter |
max_upload_size | |
id | 1280013 |
size | 102,775 |
Basic Miden Assembly code formatter.
The following keywords affect indentation rules in Miden Assembly: begin
, proc
, export
, if
, else
, repeat
, while
, end
.
That's pretty much it.
Would be cool to auto format comments, and maybe some other things.
This code formatter has been tested extensively, however, there may be edge cases where it fails.
cargo install --path .
cargo masm-fmt "src/asm/example3.masm"