I've created an experimental toy programming language with a (now) working interpreter. It is turing-complete and has a pretty low-level instruction set.
Even if everything takes four to six times more code and time than in PHP, Python or Ruby I still love programming all kinds of things in it.
So I got the "basic" things that are written in many languages working:
- Hello World
- Input -> Output
- Countdowns (not as easy as you think as there are no loops)
- Factorials
- Array emulation
- 99 Bottles of Beer (simple, wrong inflection)
- 99 Bottles of Beer (canonical)
Collatz conjecture
Quine (that was a fun one!)
- Brainf*ck interpreter (To proof turing-completeness, made me happy)
So I implemented all of the above examples because:
- They all used many different aspects of the language
- They are pretty interesting
- They don't take hours to write
Now my problem is: I've run out of ideas! I don't find any more examples of what problems I could solve using my language.
- Do you have any programming problems which fit into some of the criteria above for me to work out?