(If ~comp is the wrong place for this, please move it, or delete it if need be!) I've finished writing UNK, a tiny SSG in POSIX shell and awk. I decided to try it after thinking about fitting an...
(If ~comp is the wrong place for this, please move it, or delete it if need be!)
I've finished writing UNK, a tiny SSG in POSIX shell and awk. I decided to try it after thinking about fitting an ssg in a toot (500 bytes), and then fitting a Markdown parser in one too (which is definitely not possible, by the way). Then I glued them together with a heredoc template and published it.
Great work! Those scripts are black magic to me, I wouldn't even begin to try to read them. In the past I used this mess for my blog, which is not really similar, but it uses awk, make, m4 & a...
Great work! Those scripts are black magic to me, I wouldn't even begin to try to read them.
In the past I used this mess for my blog, which is not really similar, but it uses awk, make, m4 & a custom m4 markup to generate a blog. It even has automatically-numbered footnotes in pure m4, tho IDK if I stole it from somewhere. I don't think anybody would want to use this, but I was reminded of it when I saw this.
Hey I've never heard of m4, but I like what I can parse of your blog software! An SSG is a fun project to write, because it's just a mapping of inputs to outputs, which is basically a function. As...
Hey I've never heard of m4, but I like what I can parse of your blog software! An SSG is a fun project to write, because it's just a mapping of inputs to outputs, which is basically a function.
As far as the black magic-ness of the scripts, you're right! I think I'll write a line-by-line breakdown too, as a learning/teaching exercise.
(If ~comp is the wrong place for this, please move it, or delete it if need be!)
I've finished writing UNK, a tiny SSG in POSIX shell and awk. I decided to try it after thinking about fitting an ssg in a toot (500 bytes), and then fitting a Markdown parser in one too (which is definitely not possible, by the way). Then I glued them together with a heredoc template and published it.
Comments/suggestions welcome!
Great work! Those scripts are black magic to me, I wouldn't even begin to try to read them.
In the past I used this mess for my blog, which is not really similar, but it uses awk, make, m4 & a custom m4 markup to generate a blog. It even has automatically-numbered footnotes in pure m4, tho IDK if I stole it from somewhere. I don't think anybody would want to use this, but I was reminded of it when I saw this.
Hey I've never heard of m4, but I like what I can parse of your blog software! An SSG is a fun project to write, because it's just a mapping of inputs to outputs, which is basically a function.
As far as the black magic-ness of the scripts, you're right! I think I'll write a line-by-line breakdown too, as a learning/teaching exercise.
Thanks for checking it out!
Looking forward to it!