Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Latest commit

 

History

History
27 lines (13 loc) · 574 Bytes

README.md

File metadata and controls

27 lines (13 loc) · 574 Bytes

Finit State Machine – Haskell

A small finit state machine, written in haskell

The machine detects, whether entered line belongs to the given below grammar:

  • S -> aA | bS
  • A -> aS | _

Building

stack build

or build with ghc the main source file: main.hs

Running

stack exec

or run the built exec file

or use ghci to load the module on the same main.hs