Crates.io | ringels |
lib.rs | ringels |
version | 0.1.0 |
source | src |
created_at | 2024-02-08 19:29:34.323357 |
updated_at | 2024-02-08 19:29:34.323357 |
description | Simple S-Expression parser |
homepage | |
repository | https://git.cijber.net/eater/ringels |
max_upload_size | |
id | 1132599 |
size | 31,914 |
A simple S-Expression parser
use the
miette
feature and eitherOffsetTracker
orLineTracker
as tracker
fn example() {
let parser = ParserOptions::new()
.with_comments()
.build_with_tracker::<OffsetTracker>("(hello #| world |#)");
let Some(Ok(node)) = parser.next() else { panic!(":(") };
}