Skip to main content

Crate jots

Crate jots 

Source
Expand description

Jot Syntax 1.0 RC6 parser. Public entrypoint is parse; consumers receive a ParseResult matching SPEC §8 (Parser Output) verbatim.

See ../README.md and https://jotsyntax.org/spec/latest for the language.

Re-exports§

pub use config::CategoryRoot;
pub use config::Config;
pub use config::FlagValue;

Modules§

config
Parser configuration. Defaults from §9; loading order from §9 (env > local .jot.toml > $HOME/.jot.toml > defaults).

Structs§

Blocker
Bookmark
BookmarkRange
CrossFileReference
CrossReference
Diagnostic
FileReference
Fragment
InterJotResource
Loc
ParseResult
Reference
Resource
Todo
Url

Constants§

VERSION
The crate version, pinning the grammar revision — for consumers that record the parser version alongside parse output (e.g. the jots_version field of cuj’s jot/index facts).

Functions§

parse
Parse text using cfg. Returns the structured snapshot from §8 including diagnostics. cfg defaults are filled in at lookup time.