💾 Archived View for gemi.dev › gemini-mailing-list › 000331.gmi captured on 2024-03-21 at 17:24:11. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

Dhall description of Gemini

1. Emery Hemingway (ehmry (a) posteo.net)

Hello,

I wrote a description of Gemini text using the total functional language
Dhall which can potentially be used for document generation. The
description is made with only the primitives of the language, and if
anyone else finds it useful, could lead to a canonical Dhall represenation
that can be used in reusable document generation libraries. Eventually I
plan to use the description for some self-documenting system stuff.

There are basically two components to the description, the type and
rendering function:

https://git.sr.ht/~ehmry/dhall-gemini/tree/master/Line.dhall
https://git.sr.ht/~ehmry/dhall-gemini/tree/master/render.dhall

I wrote a small example of how to use the description:

gemini://gemini.spam.works/users/emery/dhall-gemini.gmi

Cheers,
E.

Link to individual message.

---

Previous Thread: Delta Chat Group

Next Thread: Seeking for help with C Gemini client