This library implements the Marktwin (mkt) parser used by Eternal-Twin. Marktwin is the format used by Eternal-Twin for its messages. It is inspired by Markdown and the Twinoid forum code. See the Marktwin library for more details.
The parser is implemented using Rust and compiled to Wasm. It is compatible with both Node and webpack.
All inputs produce valid parse trees, parsing cannot fail.
The parser uses a pipeline to gradually transform the input into a tree.
The Rust implementation supports fuzzing:
```
cargo-fuzz
cargo install cargo-fuzz
lexer
cargo fuzz run lexer
parser
cargo fuzz run parser ```