#tree #agda #build #notes #convert #forester #lagda

nightly bin+lib agda-tree

A build tool for *.lagda.tree format

6 releases

0.2.4 Aug 6, 2024
0.2.3 Jul 29, 2024
0.1.0 Jul 28, 2024

#2 in #forester

Download history 172/week @ 2024-07-24 136/week @ 2024-07-31 50/week @ 2024-08-07 5/week @ 2024-08-14

273 downloads per month

GPL-3.0-or-later

96KB
347 lines

agda-tree

Converts *.lagda.tree to *.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

then you can run

agda-tree build xxx

After that, you can move generated *.tree to trees/ directory in forest, then you can view literate Agda in forster system. The current internal working flow is as follows:

image

This will change if agda directly accept *.lagda.tree as input, at that case I will update agda-tree to fit it.

Example

image

Dependencies

~3.5–4.5MB
~88K SLoC