MoonPeanut Programming Language

Update:

  • 0.0011: Source code included.
  • 0.0010: Better debugging messages when errors occur, as well as some changes to the way strings are handled.
  • 0.0001: Initial release.

To Add:

  • Input
  • probably other things...

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:
ProgLang.info: an editable site about programming languages
Webrainfck Programming Language


Back to home page








Copyright © 2000-2005 Edward L. Blake
Privacy Policy