Skip to main content

Crate meta_language

Crate meta_language 

Source

Re-exports§

pub use access::EngineNetwork;
pub use access::ReadOnlyNetwork;
pub use access::ReadOnlyViolation;
pub use api_styles::API_OPERATIONS;
pub use api_styles::ApiOperation;
pub use api_styles::ApiOperationEntry;
pub use api_styles::ApiStyle;
pub use api_styles::ApiStyleCell;
pub use api_styles::ApiStyleFixture;
pub use api_styles::FluentNetworkApi;
pub use api_styles::FluentPipeline;
pub use api_styles::LinkCliSubstitution;
pub use api_styles::LinkCliSubstitutionError;
pub use api_styles::LinkCliSubstitutionKind;
pub use api_styles::run_api_style_fixture;
pub use configuration::AccessMode;
pub use configuration::FormalizationLevel;
pub use configuration::LanguageIdentificationDetector;
pub use configuration::NaturalizationDirection;
pub use configuration::ParseConfiguration;
pub use configuration::RegionDetectionPolicy;
pub use configuration::TriviaAttachmentPolicy;
pub use decorators::DECORATOR_LEVELS;
pub use decorators::Decorator;
pub use decorators::DecoratorAction;
pub use decorators::DecoratorError;
pub use decorators::DecoratorLevel;
pub use decorators::DecoratorRecord;
pub use decorators::DecoratorSet;
pub use decorators::decorator_record;
pub use decorators::record_field;
pub use document_formatting::BlockNode;
pub use document_formatting::CROSS_FORMAT_CONCEPT_IDS;
pub use document_formatting::CROSS_FORMAT_CONCEPTS;
pub use document_formatting::DOCUMENT_FORMATS;
pub use document_formatting::DocumentFormatInstance;
pub use document_formatting::DocumentFormatMatch;
pub use document_formatting::DocumentFormattingSeedReport;
pub use document_formatting::FormattingDocument;
pub use document_formatting::InlineNode;
pub use document_formatting::canonical_document_format;
pub use document_formatting::document_format_profile;
pub use document_formatting::docx_package_is_recognized;
pub use document_formatting::docx_profile_is_recognized;
pub use document_formatting::parse_docx_document;
pub use document_formatting::parse_docx_package;
pub use document_formatting::parse_markup_document;
pub use document_formatting::parse_pdf_document;
pub use document_formatting::pdf_profile_is_recognized;
pub use document_formatting::render_docx_document;
pub use document_formatting::render_docx_package;
pub use document_formatting::render_pdf_document;
pub use grammar::feature_runtime::Ambiguity;
pub use grammar::feature_runtime::FeatureGrammarParser;
pub use grammar::feature_runtime::FeatureParseOptions;
pub use grammar::feature_runtime::GrammarParseError;
pub use grammar::feature_runtime::GrammarResolver;
pub use grammar::feature_runtime::GrammarRuntimeError;
pub use grammar::feature_runtime::GrammarSelection;
pub use grammar::feature_runtime::GrammarSelectionAlternative;
pub use grammar::feature_runtime::LeafText;
pub use grammar::feature_runtime::OperationValue;
pub use grammar::feature_runtime::ParseOutcome;
pub use grammar::feature_runtime::ParseRejection;
pub use grammar::feature_runtime::ParseWithGrammarError;
pub use grammar::feature_runtime::SyntaxAttributes;
pub use grammar::feature_runtime::SyntaxTree;
pub use grammar::feature_runtime::check_grammar_selection_mapped_tree;
pub use grammar::feature_runtime::compile_feature_grammar;
pub use grammar::feature_runtime::parse_with_grammar;
pub use grammar::interchange::GRAMMAR_LOWERING_FORMATS;
pub use grammar::interchange::GrammarLowering;
pub use grammar::interchange::GrammarLoweringEncoding;
pub use grammar::interchange::GrammarLoweringError;
pub use grammar::interchange::GrammarLoweringFailure;
pub use grammar::interchange::GrammarLoweringFailureKind;
pub use grammar::interchange::GrammarLoweringMetadata;
pub use grammar::interchange::GrammarLoweringOptions;
pub use grammar::interchange::GrammarLoweringReport;
pub use grammar::interchange::GrammarLoweringStatus;
pub use grammar::interchange::GrammarLoweringStep;
pub use grammar::interchange::MAX_LOWERED_CHARACTERS;
pub use grammar::interchange::check_grammar_lowering;
pub use grammar::interchange::dropped_grammar_features;
pub use grammar::interchange::lower_grammar;
pub use grammar::interchange::parse_lowering_metadata;
pub use grammar::interchange::reconstruct_grammar;
pub use grammar::interchange::render_lowering_metadata;
pub use grammar::ActiveLearningConfig;
pub use grammar::ActiveLearningError;
pub use grammar::ActiveLearningOracle;
pub use grammar::ActiveSymbol;
pub use grammar::AdviceDecision;
pub use grammar::AdviceDecisionKind;
pub use grammar::AdviceSource;
pub use grammar::BenchmarkReport;
pub use grammar::ByteSpan;
pub use grammar::CharCategory;
pub use grammar::CharClassItem;
pub use grammar::ConceptNamingAdvisor;
pub use grammar::ConstraintAtom;
pub use grammar::ConstraintClause;
pub use grammar::ConstraintPattern;
pub use grammar::Delimiter;
pub use grammar::Dfa;
pub use grammar::DiagnosticKind;
pub use grammar::EmitReport;
pub use grammar::EvalError;
pub use grammar::ExprBuilder;
pub use grammar::FallbackAdvisor;
pub use grammar::GOLDEN_CORPORA;
pub use grammar::GRAMMAR_CONCEPTS;
pub use grammar::GRAMMAR_CONSTRUCTS;
pub use grammar::GRAMMAR_FORMATS;
pub use grammar::GoldenCorpus;
pub use grammar::Grammar;
pub use grammar::GrammarAcceptorOracle;
pub use grammar::GrammarBuilder;
pub use grammar::GrammarConcept;
pub use grammar::GrammarDiagnostic;
pub use grammar::GrammarEmitError;
pub use grammar::GrammarExpr;
pub use grammar::GrammarFidelityLevel;
pub use grammar::GrammarFormat;
pub use grammar::GrammarFormatProfile;
pub use grammar::GrammarImportError;
pub use grammar::GrammarKind;
pub use grammar::GrammarOracle;
pub use grammar::GrammarParser;
pub use grammar::GrammarRule;
pub use grammar::GrammarSourceName;
pub use grammar::GrammarSurfaceError;
pub use grammar::GrammarTranslateError;
pub use grammar::InferenceOptions;
pub use grammar::InferenceReport;
pub use grammar::InferenceResult;
pub use grammar::InferredAutomaton;
pub use grammar::JsParserArtifacts;
pub use grammar::LeafKind;
pub use grammar::LengthUnit;
pub use grammar::LexicalConfig;
pub use grammar::LexicalModel;
pub use grammar::Mdl;
pub use grammar::MdlMergeAdvisor;
pub use grammar::MembershipOracle;
pub use grammar::MergeAdvisor;
pub use grammar::MergeCandidate;
pub use grammar::MergeRequest;
pub use grammar::MergeScore;
pub use grammar::MergeStrategy;
pub use grammar::MetricScores;
pub use grammar::MinimizeOptions;
pub use grammar::MinimizeReport;
pub use grammar::MinimizeResult;
pub use grammar::NameCandidate;
pub use grammar::NamingAdvisor;
pub use grammar::NamingRequest;
pub use grammar::NonTerminalRef;
pub use grammar::Oracle;
pub use grammar::ParserAcceptancePredicate;
pub use grammar::ParserMembershipOracle;
pub use grammar::PositiveOnlyOracle;
pub use grammar::PriorOptions;
pub use grammar::RuleKind;
pub use grammar::RuleSpan;
pub use grammar::RustParserArtifacts;
pub use grammar::Sample;
pub use grammar::SampleConfig;
pub use grammar::SamplingEquivalenceOracle;
pub use grammar::ScoringMode;
pub use grammar::SeedNode;
pub use grammar::SeedTree;
pub use grammar::SemanticConstraint;
pub use grammar::SemanticInferenceConfig;
pub use grammar::Severity;
pub use grammar::StructuralPrior;
pub use grammar::Symbol;
pub use grammar::Token;
pub use grammar::WhitespacePolicy;
pub use grammar::annotate_grammar_concepts;
pub use grammar::build_structural_prior;
pub use grammar::canonical_grammar_format;
pub use grammar::categorise;
pub use grammar::clean_structural_acceptance;
pub use grammar::default_pattern_catalog;
pub use grammar::emit_abnf;
pub use grammar::emit_antlr;
pub use grammar::emit_bnf;
pub use grammar::emit_ebnf;
pub use grammar::emit_gbnf;
pub use grammar::emit_javascript_parser;
pub use grammar::emit_lark;
pub use grammar::emit_peggy;
pub use grammar::emit_pest;
pub use grammar::emit_rust_parser;
pub use grammar::emit_tree_sitter_grammar_js;
pub use grammar::emit_tree_sitter_grammar_js_with_report;
pub use grammar::emit_tree_sitter_json;
pub use grammar::evaluate;
pub use grammar::evaluate_atom;
pub use grammar::evaluate_clause;
pub use grammar::evaluate_constraint;
pub use grammar::evaluate_probabilistic;
pub use grammar::grammar_concept_translation_rules;
pub use grammar::grammar_expr_concept_id;
pub use grammar::grammar_format_profile;
pub use grammar::grammar_from_lino;
pub use grammar::grammar_to_lino;
pub use grammar::import_abnf;
pub use grammar::import_antlr;
pub use grammar::import_bnf;
pub use grammar::import_ebnf;
pub use grammar::import_gbnf;
pub use grammar::import_lark;
pub use grammar::import_pest;
pub use grammar::import_tree_sitter_json;
pub use grammar::infer_cfg;
pub use grammar::infer_cfg_with_advisors;
pub use grammar::infer_dfa;
pub use grammar::infer_lexical_classes;
pub use grammar::learn_dfa;
pub use grammar::learn_grammar;
pub use grammar::mdl;
pub use grammar::mdl_cost;
pub use grammar::mine_semantic_constraints;
pub use grammar::minimize;
pub use grammar::parse_grammar_surface;
pub use grammar::register_grammar;
pub use grammar::render_rust_type;
pub use grammar::rule_concept_id;
pub use grammar::run_corpus;
pub use grammar::run_named_corpus;
pub use grammar::run_sequitur;
pub use grammar::sample;
pub use grammar::size_symbols;
pub use grammar::translate_grammar_surface;
pub use grammar::validate;
pub use grammar::validate;
pub use grammar::with_grammar;
pub use grammar::write_grammar_surface;
pub use grammar::FORMER_GRAMMAR_CONSTRUCTS;
pub use grammar::current_grammar_construct;
pub use grammar::GRAMMAR_COMMAND_USAGE;
pub use grammar::GRAMMAR_EXPORT_FORMATS;
pub use grammar::GRAMMAR_IMPORT_FORMATS;
pub use grammar::GRAMMAR_LOSSLESS_FORMATS;
pub use grammar::GrammarCommandOutput;
pub use grammar::GrammarEmitter;
pub use grammar::GrammarFileReader;
pub use grammar::GrammarImporter;
pub use grammar::GrammarLayout;
pub use grammar::GrammarLayoutDefinition;
pub use grammar::GrammarLayoutImplicit;
pub use grammar::GrammarLosslessError;
pub use grammar::GrammarSourceDefinition;
pub use grammar::GrammarSourceSplit;
pub use grammar::capture_grammar_layout;
pub use grammar::deserialize_grammar;
pub use grammar::emit_grammar_lossless;
pub use grammar::grammar_emitter;
pub use grammar::grammar_importer;
pub use grammar::import_grammar_lossless;
pub use grammar::parse_native_grammar;
pub use grammar::render_native_expression;
pub use grammar::render_native_feature;
pub use grammar::render_native_grammar;
pub use grammar::run_grammar_command;
pub use grammar::serialize_grammar;
pub use grammar::split_grammar_source;
pub use grammar::GRAMMAR_DIAGNOSTIC_KINDS;
pub use grammar::RepetitionBoundsError;
pub use grammar::accepts_text;
pub use grammar::canonical_repeat;
pub use grammar::canonical_rule_definition;
pub use grammar::carry_rule_docs;
pub use grammar::choice;
pub use grammar::display_grammar_expression;
pub use grammar::render_rule_fields;
pub use grammar::sequence;
pub use grammar::GRAMMAR_MERGE_METHOD;
pub use grammar::GrammarMergeAlternative;
pub use grammar::GrammarMergeAlternativeReason;
pub use grammar::GrammarMergeDecision;
pub use grammar::GrammarMergeDecisionKind;
pub use grammar::GrammarMergeError;
pub use grammar::GrammarMergeFailure;
pub use grammar::GrammarMergeFailureKind;
pub use grammar::GrammarMergeFailureReason;
pub use grammar::GrammarMergeNomination;
pub use grammar::GrammarMergeNominationBasis;
pub use grammar::GrammarMergeNominationOutcome;
pub use grammar::GrammarMergeOptions;
pub use grammar::GrammarMergeResult;
pub use grammar::GrammarMergeSource;
pub use grammar::GrammarRenameError;
pub use grammar::GrammarRenameErrorKind;
pub use grammar::MergedGrammarGroup;
pub use grammar::RenamedGrammar;
pub use grammar::RuleAlias;
pub use grammar::assert_merge_complete;
pub use grammar::assert_merge_shares;
pub use grammar::merge_grammars;
pub use grammar::normalized_rule_definition;
pub use grammar::rename_grammar_rule;
pub use grammar::restore_source_names;
pub use grammar::shared_rule_decisions;
pub use grammar::GRAMMAR_ROUND_TRIP_MARKER;
pub use grammar::GrammarEmitFn;
pub use grammar::GrammarImportFn;
pub use grammar::GrammarRoundTrip;
pub use grammar::GrammarRoundTripError;
pub use grammar::GrammarRoundTripFailure;
pub use grammar::GrammarRoundTripFailureKind;
pub use grammar::GrammarRoundTripReport;
pub use grammar::GrammarRoundTripStage;
pub use grammar::GrammarRoundTripStatus;
pub use grammar::check_grammar_round_trip;
pub use grammar::mutate_grammar_start_rule;
pub use grammar::render_grammar_lexical_owner_comparison;
pub use grammar::GrammarReverseConversion;
pub use grammar::GrammarReverseFailure;
pub use grammar::GrammarReverseFailureKind;
pub use grammar::GrammarReverseReport;
pub use grammar::GrammarReverseStage;
pub use grammar::GrammarReverseStatus;
pub use grammar::check_grammar_reverse_conversion;
pub use grammar::LlmClient;
pub use grammar::LlmError;
pub use grammar::LlmMergeAdvisor;
pub use grammar::LlmNamingAdvisor;
pub use grammar::decorate_emitted;
pub use grammar::decorate_grammar;
pub use grammar::decorate_syntax_tree;
pub use graphql_adapter::GraphQlAdapterError;
pub use graphql_adapter::GraphQlArgumentRole;
pub use graphql_adapter::GraphQlOperationType;
pub use graphql_adapter::GraphQlRootMapping;
pub use graphql_adapter::GraphQlSchemaRegistry;
pub use graphql_adapter::lower_graphql;
pub use language_catalog::GrammarProvenance;
pub use language_catalog::LanguageEntry;
pub use language_catalog::NativeGrammarEntry;
pub use language_catalog::canonical_language_name;
pub use language_catalog::grammar_provenance;
pub use language_catalog::language_candidates_for_path;
pub use language_catalog::language_catalog;
pub use language_catalog::language_entry;
pub use language_catalog::language_for_path;
pub use language_catalog::native_grammar;
pub use language_catalog::native_grammars;
pub use language_catalog::oracle_grammar_provenance;
pub use language_parser::BuiltInLanguageParser;
pub use language_parser::LanguageParser;
pub use language_profile::LanguageProfile;
pub use language_profile::LanguageProfileViolation;
pub use language_support::FOUR_LANGUAGE_SUPPORT;
pub use language_support::LANGUAGE_REPRESENTATION_SCHEMA_VERSION;
pub use language_support::LanguageSupport;
pub use language_support::RepresentationLevel;
pub use language_support::TranslationContract;
pub use language_support::TranslationSupport;
pub use language_support::language_support;
pub use language_support::translation_contract;
pub use language_support::translation_contracts;
pub use link_flags::LinkFlags;
pub use link_network::LinkId;
pub use link_network::LinkMetadata;
pub use link_network::LinkNetwork;
pub use link_network::LinkType;
pub use link_network::NetworkProjection;
pub use lino_serialization::LinoSerializationError;
pub use mixed_regions::EmbeddedRegion;
pub use mixed_regions::detect_embedded_regions;
pub use mixed_regions::detect_embedded_regions_in_tree;
pub use mixed_regions::script_language;
pub use mixed_regions::sniff_language;
pub use parity::DATA_FORMAT_TARGETS;
pub use parity::GRAMMAR_EMBEDDING_TARGETS;
pub use parity::GrammarEmbeddingTarget;
pub use parity::LANGUAGE_FIXTURES;
pub use parity::LanguageFamily;
pub use parity::LanguageFixture;
pub use parity::LanguageTarget;
pub use parity::MARKUP_LANGUAGE_TARGETS;
pub use parity::NATURAL_LANGUAGE_TARGETS;
pub use parity::PARITY_FIXTURES;
pub use parity::PARITY_TARGETS;
pub use parity::PROGRAMMING_LANGUAGE_TARGETS;
pub use parity::ParityCapability;
pub use parity::ParityFixture;
pub use parity::ParityTarget;
pub use parity::ParityTransformExpectation;
pub use parity::ParityVerificationExpectation;
pub use parity::SECOND_TIER_PROGRAMMING_LANGUAGE_TARGETS;
pub use parser_registry::ParserRegistry;
pub use program_representation::PROGRAM_REPRESENTATION_SCHEMA_VERSION;
pub use program_representation::PROGRAM_SNAPSHOT_SCHEMA_VERSION;
pub use program_representation::ProgramBinding;
pub use program_representation::ProgramConstruct;
pub use program_representation::ProgramConstructStatus;
pub use program_representation::ProgramDiagnostic;
pub use program_representation::ProgramExpansion;
pub use program_representation::ProgramFact;
pub use program_representation::ProgramProjectContext;
pub use program_representation::ProgramProjectModule;
pub use program_representation::ProgramProjectReference;
pub use program_representation::ProgramProjectSource;
pub use program_representation::ProgramRange;
pub use program_representation::ProgramRepresentation;
pub use program_representation::ProgramRepresentationError;
pub use program_representation::ProgramScope;
pub use program_representation::ProgramSourceMapping;
pub use program_representation::SEMANTIC_CONSTRUCTS;
pub use program_representation::analyze_program;
pub use program_representation::analyze_program_decorated;
pub use program_representation::construct_program;
pub use program_representation::construct_program_from_fragments;
pub use program_translation::DecodedProgramTranslation;
pub use program_translation::ProgramTranslation;
pub use program_translation::ProgramTranslationError;
pub use program_translation::decode_program_translation;
pub use program_translation::read_translation_provenance;
pub use program_translation::translate_program;
pub use project_data::ProjectDataFormat;
pub use project_data::read_project_data_file;
pub use project_data::read_project_data_file_with_format;
pub use project_data::read_project_file_bytes;
pub use project_data::resolve_project_data_path;
pub use project_data::resolve_project_data_path_with_format;
pub use query::LinkQuery;
pub use query::QueryCapture;
pub use query::QueryCaptures;
pub use query::QueryIndex;
pub use query::QueryMatch;
pub use query::QueryParseError;
pub use query::QueryPredicate;
pub use query::QueryPredicateArgument;
pub use query::QueryPredicateHost;
pub use query::RejectPredicateHost;
pub use query::query_by_concept_term;
pub use query_algebra::LinkRule;
pub use query_algebra::LinkRuleCapture;
pub use query_algebra::LinkRuleCaptures;
pub use query_algebra::LinkRuleMatch;
pub use query_algebra::LinkRuleParseError;
pub use query_algebra::LinkRuleRegistry;
pub use query_algebra::LinkRuleSnapshotCase;
pub use query_algebra::LinkRuleSnapshotExpectation;
pub use query_algebra::LinkRuleSnapshotReport;
pub use query_algebra::LinkRuleSnapshotResult;
pub use query_algebra::LinkRuleSnapshotSuite;
pub use query_algebra::TraversalReport;
pub use query_algebra::TraversalStrategy;
pub use query_plan::LoweredQueryPlan;
pub use query_plan::QUERY_PLAN_VERSION;
pub use query_plan::QueryAggregate;
pub use query_plan::QueryAggregateFunction;
pub use query_plan::QueryAuthorization;
pub use query_plan::QueryComparisonOperator;
pub use query_plan::QueryFilter;
pub use query_plan::QueryOperation;
pub use query_plan::QueryOrder;
pub use query_plan::QueryPlan;
pub use query_plan::QuerySortDirection;
pub use query_plan::QuerySourceEvidence;
pub use query_plan::QueryValue;
pub use rust_codec::LinksCodecError;
pub use rust_codec::LinksDecoder;
pub use rust_codec::LinksEncoder;
pub use rust_codec::LinksObject;
pub use rust_codec::RustFieldShape;
pub use rust_codec::RustTypeKind;
pub use rust_codec::RustTypeShape;
pub use semantics::ProbabilisticTruthValue;
pub use semantics::Probability;
pub use semantics::TruthValue;
pub use snapshots::MutableNetworkSnapshot;
pub use snapshots::NetworkSnapshot;
pub use snapshots::StructuralDiff;
pub use source::ByteRange;
pub use source::Point;
pub use source::SourceSpan;
pub use sql_adapter::SQL_DIALECT_PROFILES;
pub use sql_adapter::SqlAdapterError;
pub use sql_adapter::SqlAdapterErrorKind;
pub use sql_adapter::SqlDialectProfile;
pub use sql_adapter::SqlRelationMapping;
pub use sql_adapter::SqlSchemaRegistry;
pub use sql_adapter::lower_sql;
pub use sql_adapter::lower_sql_cst;
pub use storage::DoubletsLinkStore;
pub use storage::EngineLinkStore;
pub use storage::LinkStore;
pub use storage::LinkStoreBackend;
pub use storage::LinkStoreQuery;
pub use storage::StorageError;
pub use structured_data_links::StructuredDataLinksLimits;
pub use structured_data_links::StructuredDataValue;
pub use structured_data_links::read_structured_data_lino;
pub use structured_data_links::read_structured_data_lino_ordered;
pub use structured_data_links::read_structured_data_lino_ordered_with_limits;
pub use structured_data_links::read_structured_data_lino_with_limits;
pub use structured_data_links::structured_data_to_lino;
pub use structured_data_links::structured_data_to_lino_ordered;
pub use structured_data_records::read_structured_data_records;
pub use structured_data_records::read_structured_data_records_ordered;
pub use structured_data_records::read_structured_data_records_ordered_with_limits;
pub use structured_data_records::read_structured_data_records_with_limits;
pub use structured_data_records::structured_data_record_to_lino;
pub use structured_data_records::structured_data_record_to_lino_ordered;
pub use structured_data_records::structured_data_record_to_lino_ordered_with_namespace;
pub use structured_data_records::structured_data_record_to_lino_with_namespace;
pub use substitution::SubstitutionBindings;
pub use substitution::SubstitutionReport;
pub use substitution::SubstitutionRule;
pub use substitution::SubstitutionValue;
pub use substitution::VariableSubstitutionRule;
pub use transform::QuasiquoteError;
pub use transform::QuasiquoteTemplate;
pub use transform::ReplacementReport;
pub use transform::ReplacementRule;
pub use transform::SourceTextPredicateHost;
pub use transform::TextReplacement;
pub use translation_rules::TranslationRule;
pub use translation_rules::TranslationRuleRegistry;
pub use translation_rules::TranslationRuleSet;
pub use translation_rules::TranslationRuleSetLoadError;
pub use translation_rules::TranslationTemplate;
pub use verification::VerificationIssue;
pub use verification::VerificationIssueKind;
pub use verification::VerificationReport;

Modules§

access
Read-only and mutable engine access controls.
api_styles
API-style parity registry and adapters.
benchmark
Competitor benchmark orchestration for the E3 grammar-inference suite.
configuration
decorators
Decorators: declared, removable changes to the items of a pipeline level.
document_formatting
Shared, language-free document-formatting concept ontology.
grammar
Grammar intermediate representation and links encoding.
graphql_adapter
Registry-driven lowering from validated GraphQL operations to query plans.
language_catalog
The registered language catalog shared with the JavaScript runtime.
language_parser
language_profile
language_support
Versioned capability and translation declarations for the four-language surface.
link_flags
link_network
lino_serialization
Lossless serialization of a LinkNetwork to and from links-notation text.
mixed_regions
parity
parser_registry
program_representation
Editable program representations for JavaScript, Rust, Lean, and Rocq.
program_translation
The public four-language translator: semantic translations of portable-core programs, and reversible target-native source envelopes for every other program.
project_data
Filesystem boundary for structured project data and explicit external JSON.
query
query_algebra
query_plan
Language-neutral executable query-plan concepts shared by query frontends.
rust_codec
Rust value and type-shape codec for LinkNetwork.
semantics
snapshots
source
sql_adapter
Registry-driven lowering from validated SQL statements to shared query plans.
storage
Pluggable storage backends for meta-language links.
structured_data_links
Inspectable structured values with ordered entries and exact UTF-16 strings.
structured_data_records
Namespaced, inspectable records for concurrent append-only evidence files.
substitution
transform
translation
Translation between JavaScript, Rust, Lean and Rocq through a checked portable core.
translation_rules
verification

Structs§

BinaryLinksError
Failure to preserve a network under the selected binary profile.
BinaryLinksOptions
Resource bounds for complete binary network reconstruction.
ConceptCorrespondence
The relation between two source spellings and what justifies it.
ConceptDistinction
A concept whose phrase is a synonym of another’s, with what distinguishes them.
ConceptDistinctionProblem
A way the records fail to keep required distinctions or justify a shared concept.
ConceptOntologyImportReport
Summary returned after importing concept links from an ontology source.
ConceptOntologySeedReport
Summary returned after seeding the shared concept ontology into a network.
ConceptRecord
The record of one canonical concept or operation.
ConceptRecordSeedReport
Summary returned after assigning every concept record to a network.
ConceptReuse
A concept the native grammars name, with the languages that name it.
ConceptViews
Paired view roots sharing the same concept identities and definition nodes.
ConstructTranslation
The translation of one construct between native grammars.
ConstructTranslationProblem
A construct of a tree that does not translate.
ConstructTree
A node of a construct tree: a node of a native parse tree whose kind is a rule of the grammar.
ConstructTreeTranslation
The translation of a construct tree between native grammars.
ControlledLanguageAnalysis
A morphology reading with a Universal Dependencies part of speech and features.
ControlledLanguageDiagnostic
A finding with a stable rule identifier and half-open UTF-8 byte offsets.
ControlledLanguageError
A failure to validate a profile, read morphology, or parse the source.
ControlledLanguageForm
The profile’s morphology readings for an exact surface word.
ControlledLanguageProfile
A controlled vocabulary and its writing rules, scoped to a natural language.
ControlledLanguageProhibition
A forbidden lemma, its default replacement and any surface-specific replacements.
ControlledLanguageReplacement
A replacement specific to an inflected or otherwise different surface spelling.
ControlledLanguageRules
Limits and language-specific evidence used by the writing rules.
ControlledLanguageUse
An approved lemma and part of speech, optionally restricted to a profile-specific meaning.
ControlledLanguageWord
A word passed to a morphology provider, with half-open UTF-8 byte offsets.
DiscoveredConceptGraph
Reloaded executable candidate grammars and preserved formal alternatives.
DiscoveredConceptLinks
An inspectable discovery graph and the checked common concept space.
ErasedTypeScript
Executable JavaScript and the original TypeScript regions removed from it.
Erasure
One original UTF-8 source span erased by the linked TypeScript rules.
FormalConceptArchive
A linked definition or certificate with its explicit root identity.
FormalConceptDefinitionOptions
Supported interpretation model and separately inspectable provenance.
FoundationCorrespondence
A recorded relation between two distinct models and the condition under which it holds.
FoundationDistinction
Two models that must never be merged, with the reason.
FoundationFamily
A family of foundation models, such as integer-model or proof-system.
FoundationModel
One foundation model: a meaning, not a spelling.
FoundationProblem
A way a register fails to keep foundations neutral.
FoundationRegister
A foundation register: the shape of parity/foundation-models.lino.
GlobalConceptOptions
Grounded meanings, incremental identities and required sharing obligations.
GlobalConceptSource
One imported grammar and its qualified origin.
GlobalConceptSpaceParser
A parser whose grammar identity and resolver belong to its validated archive.
GrammarConceptReuse
The reuse of one native grammar: its rules split into shared and language-specific ones.
GrammarNames
The node kind and field names a compiled default grammar declares.
LanguageFoundation
The models one language uses.
NativeConceptProblem
One problem check_native_grammar_concepts finds.
NativeConceptReuse
The per-language reuse report of the native grammars.
NativeRuleConcept
A rule of a native grammar and the concept it names.
NaturalLanguageGrammarFixture
Starter pass/fail grammar fixture for one natural-language target.
PrecedenceUse
One use of precedence in a grammar and the concept it expresses.
ReadTranslationProvenance
Provenance recovered from an artifact’s first line.
RequiredDistinction
Two concepts that must never be merged, with the reason.
ResourceDescriptionLinks
An editable resource description graph and its explicit semantic root.
ResourceDescriptionNTriplesError
A syntax diagnostic, distinguishing unsupported forms from malformed input.
ResourceDescriptionNTriplesLinks
An RDF graph and its independently inspectable syntax provenance.
ResourceDescriptionNTriplesOutput
Canonical syntax and an authoritative graph of scoped blank correspondences.
SelfTranslation
A translated module with the status of each of its top-level items.
SelfTranslationError
An unknown language or a source the links do not reproduce.
SelfTranslationItem
A top-level item of the source and what self-translation did with it.
SelfTranslationOptions
What self_translate_with translates a module with.
SemanticTranslation
The record of one semantic translation.
SharedRule
A rule that names a concept two or more native grammars name.
SourceAlias
The name a source (a grammar format, a programming language, a surface) gives a concept.
SpecificRule
A rule that names a concept only its own native grammar names.
TranslationDiagnostic
Why a program stayed outside the portable core.
TranslationObligation
How a proof obligation of the source is met in the target.
TranslationProvenance
Where a semantic translation came from.
TypedProgramLinks
A semantic graph with an explicit program root.
TypedProgramLinksEmission
Code and the existing portable-core translation contract.
TypedProgramLinksEmissionOptions
Optional explicit models for emission from the current checked links.
TypedProgramLinksError
A structural, unsupported or semantic defect in a linked program.
TypedProgramLinksLimits
Bounds on structural traversal; semantic references do not recurse.

Enums§

ConceptRole
Whether a canonical name is a concept (a noun phrase) or an operation (a verb phrase).
ConstructTranslationRelation
How a construct translates from one native grammar to another.
CorrespondenceRelation
How two source spellings relate.
FormalConceptDefinitionInput
Host inputs for the same three supported linked interpretation models.
FormalFunctionSelector
Select a declaration by its checked qualified name or actual owned link.
LinksNotationReading
The links-notation reading of one link.
NativeConceptProblemKind
What is wrong with the concept of a native grammar rule.

Constants§

CORRESPONDENCE_KINDS
The kinds of correspondence between two distinct models; none of them claims the models are the same.
FORMER_CONCEPT_IDS
Former concept identities, each with the readable English identity that replaced it.
FORMER_CONCEPT_ID_VOCABULARY
The alias vocabulary that keeps the former identities of meta-language concepts.
GLOBAL_CONCEPT_PROOF_METHOD
The closed recursive proof required before sharing a concept identity.
LOGIC_FAMILIES
The families whose models are logics or proof authorities.
NATURAL_LANGUAGE_GRAMMAR_FIXTURES
Executable natural-language grammar fixture pairs for each target language.
REQUIRED_CONCEPT_DISTINCTIONS
The concept pairs that stay distinct in every grammar and program.
REQUIRED_FOUNDATION_DISTINCTIONS
The foundation model pairs that stay distinct; the register records the reason for each.
SELF_TRANSLATION_LANGUAGES
The languages self-translation reads and writes.
SEMANTIC_ENCODING
The contract encoding of a semantic translation.
SEMANTIC_OBSERVATION
What a semantic translation preserves: the printed lines and every stated proposition.

Functions§

check_concept_distinctions
Checks that the records keep every required distinction and justify every shared concept.
check_controlled_language
Checks writing rules and vocabulary using the profile’s morphology readings.
check_controlled_language_with_morphology
Checks text with caller-supplied readings, one list per input word. An empty list delegates that word to the profile.
check_foundation_models
Checks that a register keeps foundations neutral.
check_native_grammar_concepts
Checks the concepts of every rule of every native grammar.
check_native_grammar_concepts_in
check_native_grammar_concepts over the records records, the native grammars grammars and the rule concepts rule_concepts gives each.
concept_correspondence
Relates two source spellings through the embedded concept records and foundation register.
concept_correspondence_in
Relates two source spellings through the given records and foundation register.
concept_record
Returns the record whose identity or former name is name.
concept_records
Returns every concept record in register order.
concept_records_for_source_name
Returns the records a source (such as ebnf or Rust) names name, in register order.
create_concept_views
Create paired linked views. Portable formal archives are transient input; every archive node is copied into the result, including unknown models.
create_discovered_concept_links
Copy explicit discovery outputs and retain every provided formal graph. Sharing is decided by the existing checked global concept verifier.
create_global_concept_space
Copies every source rule, then shares identities only after a closed proof.
create_global_concept_space_parser
Validates a complete archive and compiles one exact archived source identity.
create_typed_program_links
Import JavaScript or Rust through its existing typed frontend.
create_typed_program_links_with_javascript_scalar_loop_model
Import actual emitted JavaScript loops under the Number/Boolean interface.
create_typed_program_links_with_rust_array_result_model
Import Rust with an explicit versioned array result model and provenance.
create_typed_program_links_with_rust_completion_model
Import under the explicit closed guarded-return source profile.
create_typed_program_links_with_rust_const_function_model
Import owned const qualification on closed primitive Rust predicates.
create_typed_program_links_with_rust_empty_option_source_model
Import the independently selected closed empty primitive option source model.
create_typed_program_links_with_rust_owned_local_state_model
Import explicit owned String moves or canonical local copies as editable links.
create_typed_program_links_with_rust_primitive_owner_model
Import a complete primitive leaf program with owned standard binary64 paths.
create_typed_program_links_with_rust_pure_unit_call_model
Import an independently selected complete pure Unit program with owned call sites.
create_typed_program_links_with_rust_runtime_shell_model
Import a complete closed emitted Rust runtime with inspectable owned operations.
create_typed_program_links_with_rust_scalar_loop_model
Import Rust under an explicit closed primitive scalar loop interpretation.
create_typed_program_links_with_rust_source_models
Import with independent source models and inspectable caller provenance.
create_typed_program_links_with_rust_source_profiles
Select independent source profiles while keeping caller provenance separate.
create_typed_program_links_with_rust_source_signature_model
Import Rust with an inspectable owned source function signature witness.
create_typed_program_links_with_rust_type_namespace_model
Import Rust with owned type spellings rechecked against actual scoped declarations.
create_typed_program_links_with_scalar_loop_profiles
Select independent existing source profiles and one scalar loop language model.
current_concept_id
The current identity of a concept: id itself, or the identity that replaced it.
decode_link_network_binary
Reload exact network state without source parsing or token reconstruction. Legacy version 1 restores its graph and recorded term registrations only.
decode_resource_description_graph
Decode graph semantics without the original structured terms or source text.
decode_resource_description_graph_with_limit
Decode with a caller-selected positive structural node limit.
decode_typed_program_links
Decode and recheck a graph with the default structural bounds.
emit_resource_description_ntriples
Reconstruct canonical syntax from RDF terms and link its blank identities.
emit_typed_program_links
Emit target-native code from a reloaded semantic graph.
emit_typed_program_links_with_options
Emit from checked links with an explicitly selected target-interface model.
encode_formal_concept_definition
Copy an operational definition with its exact supported shared basis.
encode_formal_function_declaration_value
Select an original Boolean function without creating a new source-qualified item.
encode_formal_function_definition
Select a flat owned function and preserve its exact closed recursive context.
encode_link_network_binary
Encode every graph link and exact lookup/selection/allocation state.
encode_shared_numeric_function_definition
Select a closed binary64/Boolean function under the explicit shared model.
encode_typed_program_links
Encode checked IR into inspectable links.
erase_type_script
Erase compile time TypeScript forms using native concrete syntax spans.
foundation_correspondences
Returns the recorded correspondences between two models, in either direction.
foundation_model
Returns the model named id.
foundation_register
Returns the embedded foundation register.
global_concept_space_to_links
Serializes every copied definition, qualified origin and proof as links.
grammar_names
Returns the node kind and field names of a default grammar by its grammar-lock id, or None for an unknown id or an oracle grammar.
grammar_precedence_concepts
Returns every precedence use in grammar with the concept it expresses.
identify_language
Identifies natural languages using the default threshold of 0.1.
import_resource_description_graph
Import bounded structured triples, retaining exact lexical terms and scoped blank nodes.
import_resource_description_ntriples
Import selected N-Triples syntax and retain its separate lossless provenance.
language_foundation_models
Returns the models language uses, optionally only those of one family.
load_controlled_language_profile
Loads a fresh copy of the bundled English or Russian example profile.
merge_resource_description_graphs
Merge exact term-equal statements while archiving source graphs and witnesses.
native_construct_tree
The construct tree of source under the native grammar id.
native_grammar_concept_reuse
The per-language reuse report of the native grammars.
native_grammar_ids
The id of every native grammar of the catalog, sorted.
native_grammar_language
The language of the native grammar id, its file name: json for native-json.
native_grammar_rule_concepts
Every rule of the native grammar id with the concept it names, in grammar order; empty for an id that names no native grammar.
native_grammar_source
The source concept records name the rules of the native grammar id under: native:json.
parse_controlled_language_profile
Reads and validates a controlled language profile in structured Links Notation.
project_type_script_typing
Project supported TypeScript annotations into the shared frontend’s JSDoc form.
prove_formal_concept_equivalence
Prove equality under one supported model using a closed correspondence.
read_concept_ontology
Read ontology concepts and declared general relations at explicit root links.
read_concept_taxonomy
Read only explicit classification and subsumption declarations.
read_discovered_concept_links
Reload complete candidate grammars, then revalidate every identity and proof.
read_formal_concept_definition
Portable preparation for the generated closed-bijection verifier.
read_global_concept_space_links
Reloads structured links and rechecks all recorded shared concept proofs. Original imported grammars are reconstructed from their linked definitions.
read_resource_description_ntriples_source
Read original syntax provenance. Canonical output uses the semantic RDF root.
read_source_text_byte
Exact UTF-8 byte, or None for a nonintegral or out-of-bounds position.
read_source_text_byte_length
Exact UTF-8 length, without replacement or normalization.
read_source_text_units
Actual UTF-16 units of scalar-valid text under the shared finite vector bound.
read_typed_program_binding_identities
self_translate
Translates source from source_language to target_language, each one of SELF_TRANSLATION_LANGUAGES or an alias of one.
self_translate_decorated
self_translate with the emitter decorators applied.
self_translate_with
self_translate with options.
self_translation_language
The self-translation language language names, or None.
self_translation_signatures
The signatures of the exported items of the JavaScript or TypeScript module source that translate into Rust, in source order, for the imports of a module that imports them.
slice_source_text_bytes
Unchanged substring at ordered UTF-8 byte boundaries, or None.
source_meanings_in
Returns the concepts and foundation models a source spelling means, optionally only those under within.
translate_global_construct
Resolves a construct through its proven identity and preserves alternatives. Language aliases use the same catalog as ordinary public language parsing.
translate_native_construct
Translates the rule rule of the native grammar from to to.
translate_native_construct_decorated
translate_native_construct after the concept-mapping decorators of decorators.
translate_native_construct_in
translate_native_construct over the records records.
translate_native_construct_tree
Translates a construct tree of the native grammar from to the native grammar to, every node through translate_native_construct.
typed_program_links_schema
Exact schema shared by both packages.
verify_formal_concept_equivalence
Recheck the certificate’s copied premises and every correspondence pair.
verify_global_concept_correspondence
verify_resource_description_graph_witnesses
Validate every archived term-equality witness under its explicit primitive model.

Type Aliases§

SelfTranslationSignature
The signature of an exported item of a JavaScript or TypeScript module.