Better HN
topnewbestaskshowjobs
Log inSign up

gorelyy

4 karma · joined May 20, 2021 (5y ago) · 6 submissions

Submissions

comment 3y ago · link · parent

I also wasn't happy with TOML as an hierarchical ini alternative, so I made my own config format https://shoal.eelnet.org

Don't judge me, as I don't use it anywhere besides personal projects)

2.

Show HN: A modern CGI web framework for C++(github.com ↗)

5 points · by gorelyy · 3y ago · discuss

3.

Show HN: Lunchtoast – a CLI tool for functional testing of console applications(github.com ↗)

2 points · by gorelyy · 3y ago · 1 comment

comment 4y ago · link · parent

Syntax for loops and conditionals introducing scopes to your document may work fine for plain text documents, but in my experience it turns structured documents like HTML in unreadable mess very fast. I don't know why it's a de facto standard for template engines to make it this way. I came up with the idea of attaching conditions and loop specifications directly to XML tags, and in my opinion it significantly improves readability. I couldn't find any alternative with similar syntax, so I've implemented it myself. It's also in C++, although it works as a transpiler, and templates are needed to be compiled. It can be found here: https://github.com/kamchatka-volcano/hypertextcpp

5.

Show HN: Hypertextcpp – a fast HTML template engine using C++ code generation(github.com ↗)

1 points · by gorelyy · 5y ago · discuss