gemini-fmt idea
✈個展
jetkoten at gmail.com
Tue May 19 21:07:17 BST 2020
On Tue, May 19, 2020, 14:46 Martin Keegan <martin at no.ucant.org> wrote:
> On Tue, 19 May 2020, jan6 at tilde.ninja wrote:
>
> C is also a good choice […] python3 is probably very much OK for practical
> usage by humans
Sorry Jan, I didn't get your email from the list so I have to double quote
it here. Oops, yeah, I meant to say that about python too. Just to make it
easier for less technical would be Gemini authors. pip install gemini-fmt
and then gemini-fmt mytext.gemini is super easy, in addition to the
lightweight and portable parts.
Makes a lot of sense to look at an embeddable similar verify tool.
>
> For the time being, it'd be a good step forward just to have a tool in
> *any* language which reliably answered the question whether a file/string
> were conformant with the spec. It'd be nice to be able to say
> sendfile(readfile()) and know that one's not breaking the strict reading
> of the spec.
>
> For this, it suffices to have a gemini-check tool rather than a gemini-fmt
> tool, which presumably would be able to output a new, conformant file.
>
Yes, gemini-fmt in "simple mode" would output a new file but "expert mode"
would be a gemini-check with friendly error output that would say what
didn't match the spec
Thank you both for the comments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200519/fd2cb72b/attachment-0001.htm>
More information about the Gemini
mailing list