Re: [dev] Re: My take at a static site generator

2019-12-12 Thread Adrian Grigore
What exactly are your dissatisfactions? On 12/12/19, Marc Chantreux wrote: > hello, > > On Wed, Dec 11, 2019 at 09:02:00PM +0200, Adrian Grigore wrote: >> That was my issue, the need to implement things. Along my HTML code, I >> also have to implement or include libraries for common

Re: [dev] Re: My take at a static site generator

2019-12-12 Thread Marc Chantreux
hello, On Wed, Dec 11, 2019 at 09:02:00PM +0200, Adrian Grigore wrote: > That was my issue, the need to implement things. Along my HTML code, I > also have to implement or include libraries for common functionality. > loop(‘i’,10,‘Counter is i’) > vs > i = 1 > while ... > #! well ... i can't

[dev] Re: My take at a static site generator

2019-12-11 Thread Adrian Grigore
That was my issue, the need to implement things. Along my HTML code, I also have to implement or include libraries for common functionality. define(loop, ‘ifelse($2,0,, ‘define(‘$1’,$2)$3‘’loop(‘$1’,decr($2),‘$3’)’)’) ... loop(‘i’,10,‘Counter is i’) vs ... # i = 1 while ... #! Also, I

Re: [dev] Re: My take at a static site generator

2019-12-11 Thread Marc Chantreux
On Wed, Dec 11, 2019 at 01:39:38PM +0200, Adrian Grigore wrote: > Regarding m4(1) I remember I wasn't a big fan of the dnl macro, no > loops and also other goodies sh(1) has to offer. this paper is worth reading: http://www.cs.stir.ac.uk/~kjt/research/pdf/expl-m4.pdf it demonstrate how to:

[dev] Re: My take at a static site generator

2019-12-11 Thread Adrian Grigore
Regarding m4(1) I remember I wasn't a big fan of the dnl macro, no loops and also other goodies sh(1) has to offer. Markdown is simple with pp(1). Just #! smu file.md #! https://github.com/Gottox/smu On Tuesday, December 10, 2019, Laslo Hunhold wrote: > > On Mon, 9 Dec 2019 16:17:55 +0200 >