3 ms·
If an extra tool is fine, a really common trope in the world of minimal markup languages/libraries/DSLs are ways to write low-furniture html/xml and generate th
by abathur 3y ago
If an extra tool is fine, a really common trope in the world of minimal markup languages/libraries/DSLs are ways to write low-furniture html/xml and generate the delivery files.
DMark (https://denisdefreyne.github.io/d-mark/ https://denisdefreyne.github.io/d-mark/) is the only one I've used, but IIRC there are probably ~dozens of these out there (and many eschew furniture more than DMark).
- jraph 3y agoI didn't know about DMark. I actually designed a syntax that provides a way to implement custom tags, but this is not quite easy. While my syntax is even lighter than this, it's reasonable and DMark seems to be very easy and enjoyable to extend. And I say this as someone who doesn't know Ruby and for whom Ruby hasn't clicked (yet?). I'll definitely have to check it out, either to adopt it or to improve my own thing, ten years later. Thanks for mentioning it, there's taste in this design. Very nice.
- abathur 3y agoIt is. I found it several years back but I finally built something on it recently and extending it was pretty simple (as someone who likewise doesn't know ruby, though I've written a little for Chef recipes). I ended up writing a python parser for it (mainly just to get access to a different css parser), and the author also has a rust parser.