Task:
You must create a parseran interpreter that can parse snippets of a programming language. The language does not need to be complex, but it must include the following syntactical elements:
- Ability to assign and read variables (could be as simple as
a-zbeing premade variables) - If statements (elseif and else are not required)
- Loops (counting to an arbitrary number, user access to counter is not required)
- Simple math with variables (addition, subtraction, multiplication, division, greater/less than, equals)
- Print statements
Rules:
- You may not copy the syntax of another popular language.
- You need to write your own parserinterpreter, not modification of another parserinterpreter.
- You can write your parserinterpreter in any language.
- Write a 99-bottles-of-beer example program in your language (see here)
- This is a popularity-contest, so the most upvoted answer wins.