💾 Archived View for gerikson.com › gemlog › lobsters-drafts › On-Markdown.gmi captured on 2022-01-08 at 13:47:28. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

➡️ Next capture (2022-03-01)

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

The occasional geminer - an artisanal, handcrafted gemlog

↑ latest entries

Comment on Markdown

https://lobste.rs/s/klrbfr/why_isn_t_there_formal_grammar_for#c_jgd0as

The next time I read “Programs are meant to be read by humans and only incidentally for computers to execute”, I might refer them to Markdown.
Markdown’s author (John Gruber) is quite clear that he does not care about whether it has a formal grammar. When edge cases have been found, he might try to fix them (in his implementation), but will just as likely say that as the human author of markdown, you should avoid those parts of the language. He’s like the sorcerer’s apprentice, if the apprentice looked around at all the animated brooms splashing water and said “seems fine to me”. Perhaps he’s even right about that, it’s just a way of viewing the language that conflicts with what many programmers expect.

Markdown is not a programming language that translates human-readable text into machine-interpreted code, it's a markup that translate human-readable text into another form of human-readable text.

Gruber is not the apprentice in this scenario. He set up a perfectly nice and serviceable working area, then a bunch of nerds came along and tried to use the pens and paintbrushes as brooms, and tiny cans of paint were pressed into service as water. Then when it didn't work they complained that the tools given were inadequate for the job.

────────────────────────────────────────────

âś˝ Tuesday, 2021-05-18

→ more posts in the ‹lobsters-drafts› category

About this category: “Sometimes I post to lobste.rs, sometimes I write angry rants that end up here but not there”

Copyright © 2018 - 2021 Gustaf Erikson

Main page for this gemsite