Ethiraric
d9bb7a1693
Add Input
interface.
...
Hiding character fetching behind this interface allows us to create more
specific implementations when is appropriate. For instance, an instance
of `Input` can be created for a `&str`, allowing for borrowing and more
efficient peeking and traversing than if we were to fetch characters one
at a time and placing them into a temporary buffer.
2024-07-14 16:59:09 +02:00
Ethiraric
c3d83fbfe1
Fix warnings.
2024-06-13 22:05:43 +02:00
Ethiraric
6b01b554e0
yaml-rust2
-> saphyr-parser
...
* Drop non-parser files
* Rename everything
* Fix tests
* Start rewriting a bit of docs
2024-04-02 17:14:06 +02:00
David Aguilar
5c7e11ea3f
maint: version-up and minimize where we mention the version
...
Remove the version number from tools/gen_large_yaml so that we
can avoid needing to update the version in two places.
2024-03-25 22:25:46 -07:00
John Vandenberg
6ec65e636f
fix typos
2024-03-25 14:52:44 +01:00
David Aguilar
c00b27bb95
parser: add Parser::new_from_str(&str)
2024-03-25 00:06:10 +01:00
Ethiraric
0f97d2b9e4
Make gen_large_yaml
reproductible.
...
* Use a seedable RNG so that we can have the same number sequence.
* Replace `HashMap`s with `Vec`s to avoid undeterministic iteration.
2024-03-20 23:07:08 +01:00
Ethiraric
8247f481c7
Forgot to bump some v0.6.0 to v0.7.0.
2024-03-20 16:00:15 +01:00
Ethiraric
a33d0ffe68
Update to v0.6.
2024-03-15 20:14:26 +01:00
Ethiraric
f99a81c3e6
Add bench_compare
tool.
2024-03-15 18:29:54 +01:00
Ethiraric
289d16ab4a
Prepare for benchmarks.
2024-03-15 17:34:39 +01:00
Ethiraric
98374de883
Create a deeper YAML in nested.yaml
.
...
This requires heavily reducing the number of nodes since they are on
average more indented. Leaving 5M nodes results in files larger than
1GB.
2024-03-15 12:48:04 +01:00
Ethiraric
e390c88077
Remove tools from examples.
...
Add documentation for those tools, and make it so that `gen_large_yaml`
generates a predetermined set of files instead of outputting to its
standard output.
2024-03-14 19:20:56 +01:00