3 unstable releases

0.2.0 Jan 12, 2020
0.1.1 Sep 26, 2018
0.1.0 Sep 18, 2016

#17 in Parser tooling

Download history 28642/week @ 2020-07-02 33420/week @ 2020-07-09 28699/week @ 2020-07-16 29366/week @ 2020-07-23 39752/week @ 2020-07-30 28601/week @ 2020-08-06 28689/week @ 2020-08-13 28650/week @ 2020-08-20 32703/week @ 2020-08-27 30030/week @ 2020-09-03 31061/week @ 2020-09-10 28625/week @ 2020-09-17 32031/week @ 2020-09-24 34048/week @ 2020-10-01 36422/week @ 2020-10-08 28258/week @ 2020-10-15

130,820 downloads per month
Used in 240 crates (5 directly)

Apache-2.0 OR MIT

14KB
169 lines

vte

Build Status Crates.io Version

Parser for implementing virtual terminal emulators in Rust.

The parser is implemented according to Paul Williams' ANSI parser state machine. The state machine doesn't assign meaning to the parsed data and is thus not itself sufficient for writing a terminal emulator. Instead, it is expected that an implementation of the Perform trait which does something useful with the parsed data. The Parser handles the book keeping, and the Perform gets to simply handle actions.

See the docs for more info.


lib.rs:

A table-driven UTF-8 Parser

This module implements a table-driven UTF-8 parser which should theoretically contain the minimal number of branches (1). The only branch is on the Action returned from unpacking a transition.

No runtime deps

Features

  • nightly