![]() |
MoonPeanut Programming LanguageUpdate:
To Add:
MoonPeanut is meant to write functional style one-liners, it's not terribly hard to read either. As an example: :\a|a!P:,P"Hello World"P prints out forever in tail recursion the words Hello World. As well, the notation of the programming language was meant to seem a bit unconventional. The name comes from some random comparison of sizes of the moon, peanuts, and elephants on IRC. This interpreter was written in java, so it should run on a variety of places pretty easily. Don't forget you'll need Java runtimes installed to run this. The zip file contains a mpn.bat to run it easily on PCs and execute at the command prompt: mpn fac.mpn Here you can download alpha versions of a MoonPeanut language interpreter to play around with.
Related:
Copyright © 2000-2005 Edward L. Blake |