/hslog

Toy Prolog interpreter in Haskell

Primary LanguageHaskellMIT LicenseMIT

hslog

Prolog (its pure subset) interpreter in Haskell, written just for fun.

Features

  • Basic implementation
  • REPL
  • List notation
  • Infix notation
  • Arithmetic operators
  • Cut symbol
  • User-defined operators
  • ...

Usage

Build:

$ stack install

Launch REPL:

$ hslog-exe [filename]

Launch tests:

$ stack test