atrep-cli 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/Cargo.lock +2 -9
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/Cargo.toml +4 -2
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/PKG-INFO +22 -13
- {atrep_cli-0.3.0/crates/atrep → atrep_cli-0.3.2}/README.md +20 -11
- {atrep_cli-0.3.0/crates/atrep-cli → atrep_cli-0.3.2/crates/atrep}/README.md +20 -11
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/endo.rs +386 -20
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-djot.at-markdown.iso +2 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-djot.dia +16 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-djot.dj.exo +4 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-docbook.dia +25 -1
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-docbook.docbook.exo +17 -1
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-html.at-rst.hom +2 -1
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-html.dia +11 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-html.html.exo +4 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-markdown.dia +11 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-markdown.md.exo +4 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-org.at-html.hom +1 -1
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-rst.dia +12 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-rst.rst.exo +4 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/litogramma.at-docbook.hom +9 -5
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/litogramma.at-html.hom +3 -2
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/litogramma.gemtext.exo +5 -3
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/djot.rs +20 -0
- atrep_cli-0.3.2/crates/atrep/tests/docbook.rs +180 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/html.rs +18 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/litogramma.rs +54 -21
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/markdown.rs +56 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/rst.rs +45 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/tasso.rs +1 -3
- atrep_cli-0.3.2/crates/atrep-cli/Cargo.toml +30 -0
- atrep_cli-0.3.2/crates/atrep-cli/LSP.md +95 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2/crates/atrep-cli}/README.md +20 -11
- atrep_cli-0.3.2/crates/atrep-cli/src/lsp/analysis.rs +102 -0
- atrep_cli-0.3.2/crates/atrep-cli/src/lsp/main.rs +341 -0
- atrep_cli-0.3.2/crates/atrep-cli/src/lsp/scan.rs +81 -0
- atrep_cli-0.3.2/crates/atrep-cli/src/lsp/structure.rs +566 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/pyproject.toml +5 -4
- atrep_cli-0.3.0/crates/atrep/tests/docbook.rs +0 -78
- atrep_cli-0.3.0/crates/atrep-cli/Cargo.toml +0 -18
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/LICENSE-APACHE +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/LICENSE-MIT +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/Cargo.toml +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/atramento.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/dendron.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/dialektos.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/error.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/exo.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/fetch.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/glossa.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/kanonizo.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/lib.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/litosis.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/morph.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/outline.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/parser.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/scan.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/sigil.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/source.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/src/zygosis.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-docbook.litogramma.hom +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-drama.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-html.at-markdown.hom +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-html.at-org.hom +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-html.xhtml.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-org.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-org.org.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-poesia.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-prosa.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-rst.at-html.hom +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-tei.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-tei.tei.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.latex.a5.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.latex.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.latex.redletter.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.latex.ru.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.osis.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.usfm.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/at-usfm.usx.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/bibliogramma.bib.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/bibliogramma.bibtex.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/bibliogramma.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/koine.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/koine.latex.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/litogramma.at-tei.hom +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/litogramma.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/litogramma.html.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/std/litogramma.latex.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/atramento.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/attei.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/autonym.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/bibtex.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/collate.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/deixis.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/errors.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/exo.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/fixtures/base.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/fixtures/child.dia +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/fixtures/exempli.html.exo +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/fixtures/exempli.lektos +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/fixtures/intro.atd +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/fixtures/pipeline.svg +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/fixtures/steps.txt +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/golden.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/jats.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/lektos.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/lex0.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/metagraphe.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/milestone.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/morph.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/org.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/outline.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/remote.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/stichoi.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/tei.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/usfm.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/vocab.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep/tests/zygo.rs +0 -0
- {atrep_cli-0.3.0 → atrep_cli-0.3.2}/crates/atrep-cli/src/main.rs +0 -0
|
@@ -60,7 +60,7 @@ dependencies = [
|
|
|
60
60
|
|
|
61
61
|
[[package]]
|
|
62
62
|
name = "atrep"
|
|
63
|
-
version = "0.3.
|
|
63
|
+
version = "0.3.2"
|
|
64
64
|
dependencies = [
|
|
65
65
|
"flate2",
|
|
66
66
|
"serde",
|
|
@@ -73,17 +73,10 @@ dependencies = [
|
|
|
73
73
|
|
|
74
74
|
[[package]]
|
|
75
75
|
name = "atrep-cli"
|
|
76
|
-
version = "0.3.
|
|
76
|
+
version = "0.3.2"
|
|
77
77
|
dependencies = [
|
|
78
78
|
"atrep",
|
|
79
79
|
"clap",
|
|
80
|
-
]
|
|
81
|
-
|
|
82
|
-
[[package]]
|
|
83
|
-
name = "atrep-lsp"
|
|
84
|
-
version = "0.3.0"
|
|
85
|
-
dependencies = [
|
|
86
|
-
"atrep",
|
|
87
80
|
"lsp-server",
|
|
88
81
|
"lsp-types",
|
|
89
82
|
"serde",
|
|
@@ -3,14 +3,14 @@ resolver = "2"
|
|
|
3
3
|
members = ["crates/atrep", "crates/atrep-cli"]
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
|
-
version = "0.3.
|
|
6
|
+
version = "0.3.2"
|
|
7
7
|
edition = "2024"
|
|
8
8
|
license = "MIT OR Apache-2.0"
|
|
9
9
|
authors = ["Bojan Durickovic <dev@deyanovich.org>"]
|
|
10
10
|
repository = "https://gitlab.com/atrep/atrep-rs"
|
|
11
11
|
|
|
12
12
|
[workspace.dependencies]
|
|
13
|
-
atrep = { path = "crates/atrep", version = "0.3.
|
|
13
|
+
atrep = { path = "crates/atrep", version = "0.3.2" }
|
|
14
14
|
unicode-normalization = "0.1"
|
|
15
15
|
sha2 = "0.10"
|
|
16
16
|
ureq = "3"
|
|
@@ -19,3 +19,5 @@ flate2 = "1"
|
|
|
19
19
|
serde = { version = "1", features = ["derive"] }
|
|
20
20
|
serde_json = "1"
|
|
21
21
|
clap = { version = "4", features = ["derive"] }
|
|
22
|
+
lsp-server = "0.9"
|
|
23
|
+
lsp-types = "0.97"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atrep-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: Programming Language :: Rust
|
|
7
7
|
Classifier: Topic :: Text Processing :: Markup
|
|
8
8
|
License-File: LICENSE-MIT
|
|
9
9
|
License-File: LICENSE-APACHE
|
|
10
|
-
Summary: The atrep command-line tool
|
|
10
|
+
Summary: The atrep command-line tool (check, respellings, outline, kanonizo, endo importers, morphisms, exo rendering, collation) and the atrep-lsp language server
|
|
11
11
|
Keywords: atrep,markup,semantic,document,dialect,cli
|
|
12
12
|
Author: Bojan Đuričković
|
|
13
13
|
License-Expression: MIT OR Apache-2.0
|
|
@@ -43,11 +43,15 @@ spec revision.
|
|
|
43
43
|
classes), `dialektos` (`.lektos`/`.dia` definitions, local
|
|
44
44
|
inheritance and import), `parser` (document to Dendron),
|
|
45
45
|
`dendron` (AST + canonical serializer), `kanonizo`, `litosis`.
|
|
46
|
-
- `crates/atrep-cli` — the `atrep`
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
- `crates/atrep-cli` — two binaries, one crate: the `atrep`
|
|
47
|
+
CLI, and the `atrep-lsp` language server (diagnostics +
|
|
48
|
+
semantic-token highlighting for `.atd`/`.atk` documents and
|
|
49
|
+
`.dia`/`.lektos` definitions, and — over the outline —
|
|
50
|
+
document symbols, folding, onym definition and references,
|
|
51
|
+
selection ranges, and sim hover for documents; see
|
|
52
|
+
`crates/atrep-cli/LSP.md` for editor configuration). Both
|
|
53
|
+
ship with `cargo install atrep-cli` and the PyPI `atrep-cli`
|
|
54
|
+
wheel.
|
|
51
55
|
|
|
52
56
|
## Usage
|
|
53
57
|
|
|
@@ -262,7 +266,8 @@ Implemented:
|
|
|
262
266
|
and never across a non-injective rename onto a trigger (peer
|
|
263
267
|
triggers would share a rank the serialized form cannot
|
|
264
268
|
express; spec v0.11.1) — everywhere else `apply_route` falls
|
|
265
|
-
back to staged application automatically.
|
|
269
|
+
back to staged application automatically.
|
|
270
|
+
`atrep compose a b [c ...]` writes
|
|
266
271
|
the composite as an ordinary `.hom` file in normal form —
|
|
267
272
|
group rules in rank order, table rules sorted, implicit
|
|
268
273
|
identities elided, with `@=via` declarations recording the
|
|
@@ -280,18 +285,22 @@ Implemented:
|
|
|
280
285
|
HTML-subset, and reStructuredText-subset importers into
|
|
281
286
|
`at-markdown`/`at-html`/`at-rst` (strict over the canonical
|
|
282
287
|
subsets; RST footnotes become deixis callouts, fixed adornment
|
|
283
|
-
table for title levels
|
|
284
|
-
|
|
285
|
-
|
|
288
|
+
table for title levels, hyperlink references with embedded
|
|
289
|
+
URIs as the visible-URL link), Org-mode and Djot subset
|
|
290
|
+
importers into the `at-org` and `at-djot` std dialektoi, a
|
|
291
|
+
DocBook subset importer into `at-docbook` (`.dbk`; quote and
|
|
292
|
+
link included); the `at-tei` std dialektos
|
|
286
293
|
applies the bibliogramma pattern to TEI — ~15 form sims with
|
|
287
294
|
the TEI element identity in vocabulary-bound genoses
|
|
288
295
|
(`@,x,@.persname`), a `tei` exo emitting real TEI XML, and a
|
|
289
|
-
litogramma hom giving litogramma TEI export via morph+exo, a
|
|
296
|
+
litogramma hom giving litogramma TEI export via morph+exo, a
|
|
297
|
+
BibTeX importer into
|
|
290
298
|
`bibliogramma` (`.bib`), a JATS subset importer (`.jats`) into
|
|
291
299
|
litogramma with the ref-list embedded as a bibliogramma
|
|
292
300
|
englossis — the BibTeX-isomorphic bibliography
|
|
293
301
|
extension defined beside litogramma (entry lemma = citation
|
|
294
|
-
key, genos = entry type, fields as lemma-named sims) — the
|
|
302
|
+
key, genos = entry type, fields as lemma-named sims) — the
|
|
303
|
+
first *nested* std
|
|
295
304
|
dialektos: one uniform section sim nests, so
|
|
296
305
|
structure-preserving morphisms to and from litogramma need
|
|
297
306
|
no flattening — (`.org`: star headings, the emphasis
|
|
@@ -26,11 +26,15 @@ spec revision.
|
|
|
26
26
|
classes), `dialektos` (`.lektos`/`.dia` definitions, local
|
|
27
27
|
inheritance and import), `parser` (document to Dendron),
|
|
28
28
|
`dendron` (AST + canonical serializer), `kanonizo`, `litosis`.
|
|
29
|
-
- `crates/atrep-cli` — the `atrep`
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
- `crates/atrep-cli` — two binaries, one crate: the `atrep`
|
|
30
|
+
CLI, and the `atrep-lsp` language server (diagnostics +
|
|
31
|
+
semantic-token highlighting for `.atd`/`.atk` documents and
|
|
32
|
+
`.dia`/`.lektos` definitions, and — over the outline —
|
|
33
|
+
document symbols, folding, onym definition and references,
|
|
34
|
+
selection ranges, and sim hover for documents; see
|
|
35
|
+
`crates/atrep-cli/LSP.md` for editor configuration). Both
|
|
36
|
+
ship with `cargo install atrep-cli` and the PyPI `atrep-cli`
|
|
37
|
+
wheel.
|
|
34
38
|
|
|
35
39
|
## Usage
|
|
36
40
|
|
|
@@ -245,7 +249,8 @@ Implemented:
|
|
|
245
249
|
and never across a non-injective rename onto a trigger (peer
|
|
246
250
|
triggers would share a rank the serialized form cannot
|
|
247
251
|
express; spec v0.11.1) — everywhere else `apply_route` falls
|
|
248
|
-
back to staged application automatically.
|
|
252
|
+
back to staged application automatically.
|
|
253
|
+
`atrep compose a b [c ...]` writes
|
|
249
254
|
the composite as an ordinary `.hom` file in normal form —
|
|
250
255
|
group rules in rank order, table rules sorted, implicit
|
|
251
256
|
identities elided, with `@=via` declarations recording the
|
|
@@ -263,18 +268,22 @@ Implemented:
|
|
|
263
268
|
HTML-subset, and reStructuredText-subset importers into
|
|
264
269
|
`at-markdown`/`at-html`/`at-rst` (strict over the canonical
|
|
265
270
|
subsets; RST footnotes become deixis callouts, fixed adornment
|
|
266
|
-
table for title levels
|
|
267
|
-
|
|
268
|
-
|
|
271
|
+
table for title levels, hyperlink references with embedded
|
|
272
|
+
URIs as the visible-URL link), Org-mode and Djot subset
|
|
273
|
+
importers into the `at-org` and `at-djot` std dialektoi, a
|
|
274
|
+
DocBook subset importer into `at-docbook` (`.dbk`; quote and
|
|
275
|
+
link included); the `at-tei` std dialektos
|
|
269
276
|
applies the bibliogramma pattern to TEI — ~15 form sims with
|
|
270
277
|
the TEI element identity in vocabulary-bound genoses
|
|
271
278
|
(`@,x,@.persname`), a `tei` exo emitting real TEI XML, and a
|
|
272
|
-
litogramma hom giving litogramma TEI export via morph+exo, a
|
|
279
|
+
litogramma hom giving litogramma TEI export via morph+exo, a
|
|
280
|
+
BibTeX importer into
|
|
273
281
|
`bibliogramma` (`.bib`), a JATS subset importer (`.jats`) into
|
|
274
282
|
litogramma with the ref-list embedded as a bibliogramma
|
|
275
283
|
englossis — the BibTeX-isomorphic bibliography
|
|
276
284
|
extension defined beside litogramma (entry lemma = citation
|
|
277
|
-
key, genos = entry type, fields as lemma-named sims) — the
|
|
285
|
+
key, genos = entry type, fields as lemma-named sims) — the
|
|
286
|
+
first *nested* std
|
|
278
287
|
dialektos: one uniform section sim nests, so
|
|
279
288
|
structure-preserving morphisms to and from litogramma need
|
|
280
289
|
no flattening — (`.org`: star headings, the emphasis
|
|
@@ -26,11 +26,15 @@ spec revision.
|
|
|
26
26
|
classes), `dialektos` (`.lektos`/`.dia` definitions, local
|
|
27
27
|
inheritance and import), `parser` (document to Dendron),
|
|
28
28
|
`dendron` (AST + canonical serializer), `kanonizo`, `litosis`.
|
|
29
|
-
- `crates/atrep-cli` — the `atrep`
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
- `crates/atrep-cli` — two binaries, one crate: the `atrep`
|
|
30
|
+
CLI, and the `atrep-lsp` language server (diagnostics +
|
|
31
|
+
semantic-token highlighting for `.atd`/`.atk` documents and
|
|
32
|
+
`.dia`/`.lektos` definitions, and — over the outline —
|
|
33
|
+
document symbols, folding, onym definition and references,
|
|
34
|
+
selection ranges, and sim hover for documents; see
|
|
35
|
+
`crates/atrep-cli/LSP.md` for editor configuration). Both
|
|
36
|
+
ship with `cargo install atrep-cli` and the PyPI `atrep-cli`
|
|
37
|
+
wheel.
|
|
34
38
|
|
|
35
39
|
## Usage
|
|
36
40
|
|
|
@@ -245,7 +249,8 @@ Implemented:
|
|
|
245
249
|
and never across a non-injective rename onto a trigger (peer
|
|
246
250
|
triggers would share a rank the serialized form cannot
|
|
247
251
|
express; spec v0.11.1) — everywhere else `apply_route` falls
|
|
248
|
-
back to staged application automatically.
|
|
252
|
+
back to staged application automatically.
|
|
253
|
+
`atrep compose a b [c ...]` writes
|
|
249
254
|
the composite as an ordinary `.hom` file in normal form —
|
|
250
255
|
group rules in rank order, table rules sorted, implicit
|
|
251
256
|
identities elided, with `@=via` declarations recording the
|
|
@@ -263,18 +268,22 @@ Implemented:
|
|
|
263
268
|
HTML-subset, and reStructuredText-subset importers into
|
|
264
269
|
`at-markdown`/`at-html`/`at-rst` (strict over the canonical
|
|
265
270
|
subsets; RST footnotes become deixis callouts, fixed adornment
|
|
266
|
-
table for title levels
|
|
267
|
-
|
|
268
|
-
|
|
271
|
+
table for title levels, hyperlink references with embedded
|
|
272
|
+
URIs as the visible-URL link), Org-mode and Djot subset
|
|
273
|
+
importers into the `at-org` and `at-djot` std dialektoi, a
|
|
274
|
+
DocBook subset importer into `at-docbook` (`.dbk`; quote and
|
|
275
|
+
link included); the `at-tei` std dialektos
|
|
269
276
|
applies the bibliogramma pattern to TEI — ~15 form sims with
|
|
270
277
|
the TEI element identity in vocabulary-bound genoses
|
|
271
278
|
(`@,x,@.persname`), a `tei` exo emitting real TEI XML, and a
|
|
272
|
-
litogramma hom giving litogramma TEI export via morph+exo, a
|
|
279
|
+
litogramma hom giving litogramma TEI export via morph+exo, a
|
|
280
|
+
BibTeX importer into
|
|
273
281
|
`bibliogramma` (`.bib`), a JATS subset importer (`.jats`) into
|
|
274
282
|
litogramma with the ref-list embedded as a bibliogramma
|
|
275
283
|
englossis — the BibTeX-isomorphic bibliography
|
|
276
284
|
extension defined beside litogramma (entry lemma = citation
|
|
277
|
-
key, genos = entry type, fields as lemma-named sims) — the
|
|
285
|
+
key, genos = entry type, fields as lemma-named sims) — the
|
|
286
|
+
first *nested* std
|
|
278
287
|
dialektos: one uniform section sim nests, so
|
|
279
288
|
structure-preserving morphisms to and from litogramma need
|
|
280
289
|
no flattening — (`.org`: star headings, the emphasis
|