lexicon

A Lexicon parser for the AT Protocol

A parser for AT Protocol Lexicon schema documents, shipping the official lexicons as generated Dart constants. It is the input the lex_gen code generator reads.

ActivePersonalOpen source

Record

Kind
Package
Role
Author
Started
March 2023
Updated
August 2026
Licence
BSD-3-Clause
pub
lexicon · atprotodart.com

Technology4

Evidence8 sources

The pubspec describes it as a core library for parsing Lexicon in the AT Protocol standardsourcegithub.com The README's example parses a Lexicon document into a LexiconDoc and iterates the bundled official lexiconsdocsgithub.com lib/docs.dart is a single re-export of the generated lib/src/lexicons.g.dartsourcegithub.com That generated file is written by the monorepo's scripts/gen_lexicon_docs.dart, which emits one constant per official lexicon document plus a collection of them allsourcegithub.com lex_gen's pubspec.yaml declares lexicon among its dependenciessourcegithub.com Recent releases in the CHANGELOG are regenerations from synced upstream lexicons rather than code changesdocsgithub.com Version 0.0.0 records a repository URL that omits the /tree/main segment and does not resolveregistrypub.dev Its LICENSE is a relative pointer to the monorepo's root BSD-3-Clause LICENSElicencegithub.com

Links2

Relations3 edges

atproto.dartPart ofDart SDK monorepo for AT Protocol and Bluesky at_primitivesDepends onAT Protocol identifier types for Dart lex_genUsed byLexicon-to-Dart code generation