Yet Another Rust Yaml
Find a file
Paul Stemmet cb6d64dfc7 lib/scanner: add MStats
A struct for doing book keeping about where we are in the buffer:

1. How much we've read
2. How many lines we've seen
3. The current column

I'll likely add variants to advance!, as its the primary method used to
traverse the buffer

This will likely be passed as an extra argument down the various scan
call stacks, and care will need to be taken to ensure we're handling
line breaks correctly (because I bet we're not currently)

Tests will need to be updated to test that we're getting the stats we
expect.
2021-06-29 23:14:30 +01:00
.github/workflows ci/prtasks: use install over mv 2021-06-02 14:52:43 +00:00
docs docs/flow-logic: notes from scalar line joining 2021-06-23 21:51:33 +01:00
src lib/scanner: add MStats 2021-06-29 23:14:30 +01:00
.gitignore git: ignore .vim/ 2021-06-23 21:51:33 +01:00
.rustfmt.toml ci/fmt: move rustfmt.toml to repo root 2021-06-22 21:14:34 +00:00
Cargo.lock lib/deps: add atoi 2021-06-06 08:44:15 +01:00
Cargo.toml lib/deps: add atoi 2021-06-06 08:44:15 +01:00