Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

darkf/possumv2

Repository files navigation

possum v2.0.0
copyright (c) 2011-2012 darkf
licensed under the terms of the MIT license
see LICENSE for details

Possum is a scheme-inspired language that is designed to be concise and simple.
It features fixed-arity functions, enabling us to lose the mess of parentheses.

It features networking (via sockets), text processing (regular expressions), and other things that make it generally useful.

Here's a canonical factorial function:

defun fact n is
  if = n 0
    1
  else
    * n fact - n 1
end

print fact 10

You can write this on one line, two lines, or however many you want (although we recommend you indent your code nicely!)

Unfortunately, possum is at a very early stage in development, so expect bugs and things downright not working! (In other words, don't trust your life with it.)

Usage:

  • Compile with fsc.exe types.fs possum.fsi lib/stream.fs lib/text.fs possum.fs parser.fs main.fs -o possum.exe (although a solution file for Visual Studio 2010 is included.)

  • Run possum.exe examples/hi.ps or without arguments to enter REPL mode

About

Possum, version awesome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages