Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.
/ fsm-lexi Public archive

A small finit state machine on grammar, written in Haskell

License

Notifications You must be signed in to change notification settings

Ubsefor/fsm-lexi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A small finit state machine on grammar, written in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published