11 releases
new 0.3.5 | May 15, 2025 |
---|---|
0.3.4 | May 15, 2025 |
0.2.4 | Aug 6, 2024 |
0.2.3 | Jul 29, 2024 |
0.1.0 | Jul 28, 2024 |
#2025 in Command line utilities
398 downloads per month
53KB
191 lines
agda-tree
Post-processing agda produced html/*.tree
to valid tree.
Install
cargo install agda-tree
Usage
Let's say you have a forest (evergreen notes system via forester), and the directory structure is
.
|
|-forest.toml (config of forester)
|-trees (for forester)
|-xxx
| |-xxx.agda-lib
| |- ex.lagda.tree
cd xxx
, you first run agda (>= 2.8.0) with flags
agda --html --html-highlight=code ex.lagda.tree
agda will produce a ./html/ex.tree
, then do postprocessing
agda-tree build
you will get a directory xxx/trees
, I will put this directory into configuration forest.toml
, then you can view literate Agda in forster system.
Example
Dependencies
~3.5–4.5MB
~87K SLoC