Language jamal
(Just Another Macro Language v3.00)
| Date: | 10/11/05 |
| Author: | Feherke |
| URL: | http://rootshell.be/~feherke/ |
| Comments: | 0 |
| Info: | http://peter.verhas.com/progs/perl/jamal/ |
| Score: |
{#comment 99 bottles of beer
run it by passing this script file's name to the jamal interpreter as parameter}\
\
{@define beer count=\
{#if/{#!= count 0}/count/No more} bottle{#if/{#!= count 1}/s} of beer}\
\
{@for nr/99...0/\
{beer nr} on the wall,
{beer nr}.
{#if/{#!= nr 0}/\
Take one down and pass it around,
{beer {#- nr 1}} on the wall./\
Go to the store and buy some more,
{beer 99} on the wall.}
}
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments