Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 962 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 962 Bytes

hasktan

About

Hasktan is a small, interpreted Haskell-derived toy language. From Hebrew it would translate to 'small has[kell].' Currently there are very few keywords, those being if, then, else, hd, tl, (+, -, /, *, ^), rem, quot, ::, ++ and \ .

Usage

# Configure your enviroment with this script, or setup GHC along with Alex and Happy.
$ chmod +x configure.sh && ./configure.sh

# Build with make and spits out the executable.
$ make

# Or With Cabal
$ cabal build


# To interpret a file.
$ hasktan file.hs


# Open REPL mode.
$ hasktan -i

External Libraries

License

BSD-3 License