Why Nostr? What is Njump?
2023-10-01 01:12:49
in reply to

loopy pedestrian✍🏿 on Nostr: gone. COmmited suicide. im thinking of writing a templated DSL for writing HTML ...

im thinking of writing a templated DSL for writing HTML directly in C++ and basically reinventing Go’s html/template for {{stuff}} in my template files. i know basically nothing about CGI so im using boost::beast for serving my generated html i guess its super overkill in general but i really have nothing better to do:pleaddeath:

heres a parser for the file config i wrote yesterday, it works like this:

a: b
c: d
---
{{contents}}


becomes

conf["a"] = "b"
conf["c"] = "d"


Author Public Key
npub16c3wl5l4m7t88y0axaukhp0tx6dx76f7fc0flck380tmxh8gdcysle0e99