Skip to content

phijor/agda-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c37a0df · Apr 20, 2024

History

19 Commits
Apr 20, 2024
Apr 20, 2024
Jun 11, 2023
Jan 25, 2023
Apr 16, 2024
Apr 16, 2024
Apr 16, 2024
Jan 29, 2023
Apr 20, 2024
Jan 29, 2023
Apr 16, 2024
Apr 16, 2024
Jan 29, 2023

Repository files navigation

agda-index

Extract function names and type definitions from Agda modules rendered to HTML by agda --html.

Why?

I want to find definitions by name in large Agda libraries, but I don't know how to write proper Agda backends.

How?

Scan all rendered modules under html/ for definitions, select some using a fuzzy finder and open the definition sites in a browser:

agda-index html/*.html | fzf -d' ' --with-nth='2' | cut -d' ' -f1 | xargs firefox

Licence

This project is subject to the terms of the Mozilla Public License, v. 2.0, see LICENSE. The Agda icon has been adapted from the official Agda logo, and is distributed under the terms of the Agda license.

About

Poor man's Agda identifier indexing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published