Skip to content

Conversation

@kinnison
Copy link
Owner

@kinnison kinnison commented May 26, 2025

This adds .character() to the Marker type and spreads support for it through the codebase.

Unfortunately because of the YAML parser we're using not providing end-markers for scalar nodes, we can't reliably solve for #24 yet.

kinnison added 3 commits May 26, 2025 10:57
This provides the character index of the marker which could be used in
the manipulation of source material somehow

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This is the example case provided by @hougesen on #24 which is not
completely ideal.  Not least, we don't actually have a reliable end
marker with the current YAML parser we're using.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
@kinnison kinnison merged commit fa3d799 into main May 26, 2025
3 of 6 checks passed
@kinnison kinnison deleted the fix-24 branch May 26, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants