Search the web
Sign In
New User? Sign Up
concatenative · Discuss the concatenative variety of computer languages: Joy, Forth, Postscript
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ANN: Concatenative Macro Processor   Message List  
Reply | Forward Message #4625 of 4643 |
Re: [stack] ANN: Concatenative Macro Processor

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.






On 6/23/09, Mark W. Humphries <mwh@...> wrote:
> Minimac (http://freshmeat.net/projects/minimac-macro-processor) is a
> minimalist, general purpose text macro processor.
> It uses an explicit argument stack, and user functions are defined by
> concatenation.
> The software is currently in alpha release.
>
> Example: 99 bottles of beer (http://99-bottles-of-beer.net/)
>
> `drink! ( u -- ) `{continue}${#}
> this-many-bottles of beer on the wall, this-many-bottles of beer.
> Take one down and pass it around, fewer-bottles of beer on the wall.
>
> {repeat}`
>
> `oh-no! ( -- ) `No more bottles of beer on the wall, no more bottles of
> beer.`
>
> `please! ( u -- u ) `{#}
> Go to the store and buy some more, this-many-bottles of beer on the
> wall.`
>
> `this-many-bottles ( u -- u ) `[{dup} 0& ~no more bottles~& {case} 1& ~1
> bottle~& {case} {.} ~ bottles~]`
>
> `fewer-bottles ( u -- u-1 ) `{--}$this-many-bottles`
>
> 99& drink!
> oh-no!
> 99& please!
>
>
>
> Cheers,
> Mark Humphries
>
>



Sat Jul 4, 2009 12:48 pm

lab.eas@...
Send Email Send Email

Forward
Message #4625 of 4643 |
Expand Messages Author Sort by Date

Minimac (http://freshmeat.net/projects/minimac-macro-processor) is a minimalist, general purpose text macro processor. It uses an explicit argument stack, and...
Mark W. Humphries
markwhumphries
Offline Send Email
Jun 23, 2009
1:10 am

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 ?] ] ...
eas lab
lab.eas@...
Send Email
Jul 4, 2009
12:50 pm

... Hi, Thanks for your questions. Minimac has almost no syntax, basically a set of special characters that trigger behaviors (quoting, escaping, naming,...
Mark W. Humphries
markwhumphries
Offline Send Email
Jul 5, 2009
2:35 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help