Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
CP737.hs
Eval.hs
LICENSE
Main.hs
Parser.hs
README.md
Types.hs

README.md

Samau

Samau is a stack-based, concatenative, pure functional golfing language inspired by Burlesque, Joy, Mathematica, Seriously and other languages. It is still under development, and only support a very limited amount of commands.

The default character encoding of Samau is CP737, the DOS code page for Greek language. But that's just for counting bytes. There is also a UTF-8 mode, and the REPL uses UTF-8. You don't need to set your terminal text encoding to CP737.

Samau is still under development and might be buggy.

Usage

To compile the Samau interpreter, you need the Haskell Platform.

First, install the required packages:

cabal install arithmoi haskeline parsec

See this if you have problem installing arithmoi.

Then compile it:

ghc --make Main.hs -o samau

And then:

./samau code.sm           # execute the code from a CP737 encoded file
./samau --utf8 code.sm    # execute the code from a UTF-8 encoded file
./samau                   # start the REPL

Or you can run it without compiling:

runghc Main.hs [args]

Documentation

See the wiki.

Sorry, the wiki is accidentally deleted.

Licence

Samau is licenced under GNU GPL v3.

Some of the code is based on Roman Müntener's Burlesque, which is under BSD license.

Links

You can’t perform that action at this time.