working on c37.118 forma

This commit is contained in:
Wintermute 2025-06-30 10:13:29 +02:00
parent 7883b42d13
commit f86a6bf9f4
6 changed files with 53 additions and 74 deletions

View file

@ -1,6 +1,8 @@
//use nanoid::nanoid;
use std::borrow::Cow;
use crate::grammar::Range;
/* Any format will be parsed into an intermediate, json-like object.
Where possible, zero-copying should be done (???!);
@ -77,3 +79,9 @@ impl<'a> Atom<'a> {
}
}
}
pub struct ParsedField<'a> {
span: Range,
name: FieldTag,
value: Atom<'a>,
}