Σλang is a simple and yet powerful core language that can be used as an interpreter for other languages
- Basic expression compiler
- Parser
- Laziness
- let expressions
- more primitives
- data structures (list, etc.)
Tested on Ubuntu
You need git, ghc, stack packages to build Σλang
Clone project:
git clone github.com/algoritmist/Slang.git
cd Slang
Now you can run it:
stack build --exec "Slang <source_file.sl>"
You can find examples of programms in directory programs
- ISBN-10: 0137219520 Peyton Jones, Simon & Lester, David. (1992). Implementing Functional Language – A Tutorial.
- Leijen, Daan. (2001). Parsec, a Fast Combinator Parser