Re: [stack] ANN: Concatenative Macro Processor

"Mark W. Humphries" <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
--- In [email protected], eas lab <lab.eas@...> wrote:
>
> Just to keep the pipes exercised
>  [I suspected that I'd been cut-off of cat-list
>  [what's happening in the 1st-world/N-hemisphere
>    'for' no cat-list-traffic ?] ]
> 
> I'm asking what's Minimac's minimal-syntax ?
>
> I/we don't just go off to httpS on a whim.
> ANNs should contain minimum info to justify
> further effort investment.
> 
> How would it:
> remove all sequences of lines,
>   starting from <string1> upto <string2> ?
> 
> == TIA.

Hi,

Thanks for your questions.

Minimac has almost no syntax, basically a set of special characters that trigger behaviors (quoting, escaping, naming, compiling, etc...) and a dictionary (i.e. symbol table) of built-in macros that is extended at runtime with user macro definitions. See the draft manual for more info: http://code.google.com/p/minimac/wiki/manual

As to your second question on removing sequences of lines, minimac is a macro processor similar in purpose to m4, i.e. it expands macro directives contained in a source file, what you're describing is a job better suited for a stream editor.

Cheers,
 Mark Humphries
 http://freshmeat.net/projects/minimac-macro-processor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.