a shitty config file parser in fennel
a shitty config file parser in fennel2023-04-28 21:51
i’m working on rewriting my blog enging again (lol) in fennel (again), and made
this simple config file parser for the following config file format:
name = someone's name
domain = verycoolwebsite.com
email = awsick@cool.com
it turned out to be pretty easy too! i made use of fennel’s threader macro,
->, which just takes an initial value and an arbitrary amount of functions,
and passes the initi … ⌘ Read more