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

nightly build 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

#239 in Build Utils

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
~87K SLoC