Skip to main content

Crate iotas

Crate iotas 

Source
Expand description

Iota Syntaxis parser — the Unicode variant of Jot Syntax (https://iotasyntaxis.org).

A thin shim over the jots crate with the variant preset: identifier and filename character classes follow Unicode XID_Start/XID_Continue instead of ASCII. Everything else — wire format, JOTS_* env vars, .jot.toml, diagnostic codes — is shared verbatim between the variants, so the two crates are drop-in alternatives distinguished only by the default.

The variant is runtime state on Config::unicode; this crate exists so downstream users can depend on an explicitly Iota-flavored surface without carrying the toggle themselves.

Structs§

Config
Internal config representation. None means “use the default”; a Some value carries either a clean bool or the raw string from a config source so §15.1 (Jots/Validation/InvalidFlagValue) can flag bad inputs.
ParseResult

Enums§

FlagValue

Constants§

VERSION

Functions§

config
A jots::Config with the Iota Syntaxis variant preset.
load
Load the standard config cascade (~/.jot.toml.jot.toml walk → JOTS_* env) with the Iota Syntaxis variant preset.
parse
Parse text as Iota Syntaxis. The variant is forced on regardless of cfg.unicode; every other flag applies as-is.