Directories
¶
| Path | Synopsis |
|---|---|
|
Package assets holds the files the compiler builds in.
|
Package assets holds the files the compiler builds in. |
|
cmd
|
|
|
ears
command
Command ears is the earslang compiler (spec §11).
|
Command ears is the earslang compiler (spec §11). |
|
ears-import-kiro
command
Command ears-import-kiro is the ears import extension for Kiro (spec §11.4): ears import --from kiro .kiro/specs/<feature>/requirements.md.
|
Command ears-import-kiro is the ears import extension for Kiro (spec §11.4): ears import --from kiro .kiro/specs/<feature>/requirements.md. |
|
ears-import-openspec
command
Command ears-import-openspec is the ears import extension for OpenSpec (spec §11.4): ears import --from openspec openspec/specs/<capability>/spec.md.
|
Command ears-import-openspec is the ears import extension for OpenSpec (spec §11.4): ears import --from openspec openspec/specs/<capability>/spec.md. |
|
ears-import-speckit
command
Command ears-import-speckit is the ears import extension for Spec Kit (spec §11.4): ears import --from speckit specs/<feature>/spec.md.
|
Command ears-import-speckit is the ears import extension for Spec Kit (spec §11.4): ears import --from speckit specs/<feature>/spec.md. |
|
ears-wasm
command
Command ears-wasm is the compiler for a web page, like the TypeScript playground: built for WebAssembly, it runs in the browser and reads the files the page gives it, so nothing is sent anywhere.
|
Command ears-wasm is the compiler for a web page, like the TypeScript playground: built for WebAssembly, it runs in the browser and reads the files the page gives it, so nothing is sent anywhere. |
|
Package explanations reads the long explanations of diagnostics from assets/diagnostics.md, the one copy.
|
Package explanations reads the long explanations of diagnostics from assets/diagnostics.md, the one copy. |
|
Package highlight renders earslang text as HTML, coloured by the compiler's tokens and marked by its diagnostics.
|
Package highlight renders earslang text as HTML, coloured by the compiler's tokens and marked by its diagnostics. |
|
internal
|
|
|
count
Package count writes a count with its noun, so that every message counts alike: "1 file", "2 files".
|
Package count writes a count with its noun, so that every message counts alike: "1 file", "2 files". |
|
diff
Package diff compares two compiled specs and lists what changed in meaning (§11.5).
|
Package diff compares two compiled specs and lists what changed in meaning (§11.5). |
|
export
Package export writes the compiled spec in the built-in formats of ears export: json, html, md and gherkin (spec §11.3).
|
Package export writes the compiled spec in the built-in formats of ears export: json, html, md and gherkin (spec §11.3). |
|
format
Package format is ears fmt and ears fix (spec §11.1, §11.2): the new text of each file they change, worked out in memory.
|
Package format is ears fmt and ears fix (spec §11.1, §11.2): the new text of each file they change, worked out in memory. |
|
gittest
Package gittest makes git repositories for tests.
|
Package gittest makes git repositories for tests. |
|
importer
Package importer holds what every importer of ears import shares (spec §11.4): the rules it builds, the markdown it writes, and the list of what it could not map.
|
Package importer holds what every importer of ears import shares (spec §11.4): the rules it builds, the markdown it writes, and the list of what it could not map. |
|
importer/importertest
Package importertest holds the check every importer's tests share: that an import's output passes ears check.
|
Package importertest holds the check every importer's tests share: that an import's output passes ears check. |
|
markdown
Package markdown finds the block structure of a markdown file: front matter, headings, and the block-level parts under each heading, with their lines (spec §12).
|
Package markdown finds the block structure of a markdown file: front matter, headings, and the block-level parts under each heading, with their lines (spec §12). |
|
mcp
Package mcp is ears mcp: a Model Context Protocol server on standard input and output, for AI tools (spec §11).
|
Package mcp is ears mcp: a Model Context Protocol server on standard input and output, for AI tools (spec §11). |
|
project
Package project reads a project from the disk for the compiler: it finds ears.mod, lists the files (S1.6 to S1.8), skips what git ignores, and reads them.
|
Package project reads a project from the disk for the compiler: it finds ears.mod, lists the files (S1.6 to S1.8), skips what git ignores, and reads them. |
|
Package spec compiles earslang files into the compiled spec (JSON Schema 0.1, docs/reference/json-schema/0.1/spec.schema.json) and reports diagnostics.
|
Package spec compiles earslang files into the compiled spec (JSON Schema 0.1, docs/reference/json-schema/0.1/spec.schema.json) and reports diagnostics. |
Click to show internal directories.
Click to hide internal directories.